Question: For these exercises, we use the Employees Database presented at the end of Chapter 1. Answer each question with a single SQL statement. Your query

For these exercises, we use the Employees Database presented at the end of Chapter 1. Answer each question with a single SQL statement. Your query must work for any set of data in the Employees Database, not just the set of data we provide.

Find the names of all people who work in the Consulting department and who spend more than 20% of their time on the project with ID ADT4MFIA. Solve three ways: 1) using only WHERE-based join (i.e., no INNER/OUTER/CROSS JOIN), 2) using JOIN ON, and 3) using NATURAL JOIN whenever possible and JOIN ON otherwise.For these exercises, we use the Employees Database presented at the end

24 Chapter I:Databasks projects projectd deparmenls code managerid subdeplof description startdate encdate revenue workson empore edi assignedime employeeld firstname lastname deplcode salary Figure 1.5: Schema for the Imployees Database

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!