Question: Write the following queries in SQL on the Company Database Schema. ( 1 0 points ) 1 Retrieve the SSN , Fname, and Lname of

Write the following queries in SQL on the Company Database Schema. (10 points)1Retrieve the SSN, Fname, and Lname of employees who have more than two dependents.2Retrieve the SSN, Fname, and Lname of employees whose total working hours exceed 30.3Retrieve the SSN, Fname, and Lname of employees directly supervised by Franklin Wong.4Retrieve the SSN, Fname, and Lname of department managers who do not have any dependents.5Insert a new record into the EMPLOYEE table with the following details: First Name = Christopher, Last Name = Robin, Middle Initial = J, SSN =887766554, Birthdate =1999-02-15, Address =6721 San Jose, San Antonio, TX, Gender = Male, Salary = $50,000, Supervisor SSN =333445555, and Department Number =1.6Insert a new record into the PROJECT table with the following detail: Pname= Orange, Pnumber =40, Plocation = Humble, and Dnum =5.7Delete the record from the WORKS_ON table where the Employee name = James, Lname = Borg and the Project Number =20.8Delete the record from the DEPT_LOCATIONS table where the department name = Research and location = Houston.9Update the Project Name (Pname) of the PROJECT table from ProjectX to Project X One.10Update the Dependent_name of the DEPENDENT table to Grace where relationship = Daughter, and employee Fname = John and Lname = Smith.

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!