Question: Task 1 ( 2 . 0 marks ) Use the methods find ( ) and pretty ( ) to implement the following queries. ( 1

Task 1(2.0 marks)
Use the methods find() and pretty() to implement the following queries.
(1) Display in a pretty format information about an employee number 11. Do not list information about trips performed by the employee.
(2) Display in a pretty format information about all mechanics. For each mechanic list only employee number, name, and position.
(3) Display in a pretty format information about the trucks with the registration numbers PKR768 and PKR008 and SST005. Do not list identifiers of the documents.
(4) Find the total number of employees.
(5) Find the total number of mechanics.
(6) Display in a pretty format the names and positions of all employees;
(7) Display in a pretty format the registrations number of all trucks maintained by John Fox. there is no need to remove duplicates from a listing.
(8) Display in a pretty format the names of mechanics who maintained a car with a registration LUCY01.
(9) Display in a pretty format the names of drivers who performed no trips so far.
(10) Display in a pretty format names of drivers who started at least on trip in Wollongong.
 Task 1(2.0 marks) Use the methods find() and pretty() to implement

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!