Question: 1. Create a table Information where attributes are name, age, id. Here id is foreign key which refers to the primary key of employee

1. Create a table

1. Create a table "Information" where attributes are name, age, id. Here id is foreign key which refers to the primary key of employee table. Insert 5 rows in information table. Then delete first 2 rows from employee table. But you can't delete those rows from information table before deleting from employee table. 2. Update the department id of those employees whose department id is null. And set it as those employees whose job id ends with "S". 3. Create a view "info" where you will include first name, last name, salary of those employees whose salary is greater than any salary of those employee who works in Texas

Step by Step Solution

3.31 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To accomplish the tasks youve described you will need to perform several SQL operations Assuming you ... View full answer

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 Computer Network Questions!