Question: ONLY QUESTION 9 I NEED HELP WITH - THANK YOU!! - - 7 a . Write a SQL statement that create a database and then

ONLY QUESTION 9 I NEED HELP WITH- THANK YOU!! --7a. Write a SQL statement that create a database and then drop the database.
--7b. Write a SQL statement that create a table Employee, columns should be EmployeeID which is in integer type, Last Name and First Name in varchar type, age in integer type. Make sure EmployeeID is the key and every employee is older than 21 year-old.
--7c. Write a SQL statement that insert the following values into 7b.table, explain which row cannot be inserted into the table and why.
(001, Jason Unwin, 20)
(001, Jason Unwin, 22)
(001, James Unwin, 23)
(002, Jason Unwin, 20)
(002, Jason Unwin, 26)
--9. Write a SQL statement that define a procedure which contains 7b and 7c, and run it.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!