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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started