Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 ( 2 . 0 marks ) Use the methods find ( ) and pretty ( ) to implement the following queries. ( 1
Task marks
Use the methods find and pretty to implement the following queries.
Display in a pretty format information about an employee number Do not list information about trips performed by the employee.
Display in a pretty format information about all mechanics. For each mechanic list only employee number, name, and position.
Display in a pretty format information about the trucks with the registration numbers PKR and PKR and SST Do not list identifiers of the documents.
Find the total number of employees.
Find the total number of mechanics.
Display in a pretty format the names and positions of all employees;
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.
Display in a pretty format the names of mechanics who maintained a car with a registration LUCY
Display in a pretty format the names of drivers who performed no trips so far.
Display in a pretty format names of drivers who started at least on trip in Wollongong.
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