Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is the table please solve homework and exercise 2. Exercise-1 Create a table Employee', which contains the following records. EMP NO EMP_NAME EMP DEPT
This is the table
please solve homework and exercise 2.
Exercise-1 Create a table Employee', which contains the following records. EMP NO EMP_NAME EMP DEPT EMP SALARY 2. 3 4 John Steve marks Spencer Julia Robert Demi Moore Web Developer Program Developer Program Developer Web Developer 45000 38000 34000 42000 1.1 Add new column "DEPT_No" as following: EMP_NO DEPT_NO 1 10 2 20 3 20 4 20 Home work:: 1.5 Validate the existing of empno (7521) if it dosen't exists then insert new record with name of Steven and his associated empno. 1.6 Ask the user to enter any department then show the information for the department entered. (learning passing parameter in cursor) 1.7 Ask the user to enter any department then show the information for the department entered using implicity cursor. Exercise 2:: 2.1 Create a procedure printe_Emp_Info(deptnol number). It uses cursor to print all the employee information. Exercise-1 Create a table Employee', which contains the following records. EMP NO EMP_NAME EMP DEPT EMP SALARY 2. 3 4 John Steve marks Spencer Julia Robert Demi Moore Web Developer Program Developer Program Developer Web Developer 45000 38000 34000 42000 1.1 Add new column "DEPT_No" as following: EMP_NO DEPT_NO 1 10 2 20 3 20 4 20 Home work:: 1.5 Validate the existing of empno (7521) if it dosen't exists then insert new record with name of Steven and his associated empno. 1.6 Ask the user to enter any department then show the information for the department entered. (learning passing parameter in cursor) 1.7 Ask the user to enter any department then show the information for the department entered using implicity cursor. Exercise 2:: 2.1 Create a procedure printe_Emp_Info(deptnol number). It uses cursor to print all the employee informationStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started