Question: Question 4 (a) Write a SQL query to retrieve the van numbers, the makes and models and the mileages for those vans that are 'Mercedes'


Question 4 (a) Write a SQL query to retrieve the van numbers, the makes and models and the mileages for those vans that are 'Mercedes' vans and that have more than 100000 miles on their counters. [08 Marks] (b) Write a SQL query that lists all the details of the FORD' vans that are owned by the 'IKEA company or the 'Argos' company. [10 Marks] (c) Explain the following Data Control Language (DCL) statement. GRANT SELECT, UPDATE (companyTelNo) ON Company TO Personnel; [02 Marks] -Signature... is shown on figure 1. Carefully consider this conceptual ERD and answer the questions below. Staff staffid[PK] staffFullName staffMobileNo {mandatory, and Van goes for Vehicle_Service undertakes Mechanic Driver vanNo{PK) vanNbPlate(AK) vanMakeModel van Mileage 1..1 0. serviceRefNo(PK) servStartDateTime 0.. servEndDate Time finalCost 1.1 expertiseLevel driving LicenseNo 1 1..1 {optional, or conducts owns Road_Test Standard Service Elite_Service includes 1..1 cleaning Product testRefNo(PK) testStartDateTime testendDate Time testLocation Company 1..1 0..1 0.. companyNo[PK] company Name company TelNo Figure 1: Conceptual ERD for the VinyVan van servicing management system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
