Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

This is the table

image text in transcribed

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 information

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago