Question: Using the vehicle database in Appendix A, write SQL statements for the following queries. a) Find the cars that were used by Employees in the

Using the vehicle database in Appendix A, write SQL statements for the following queries. a) Find the cars that were used by Employees in the Information Tech Department and sort by car models year. b) Find the number of cars used by number more than 120, excluding those employees who are managers. c) Find the name and department of the employees, who have taken a Mazda car between 01/09/2011 and 03/09/2011. d) Find the employee numbers who used the most cars or the least cars. e) Find the employee/s who returned a vehicle on 15/09/2011. f) Find the employee/s who taken a vehicle on 04/09/2011 and 14/11/2011.

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!