Login or Create an Account to view the mark scheme, comment, and add to a test
DriEv, an Electric Vehicle (EV) rental company, is building an electronic database to manage its EV fleet of electric cars and bikes. DriEv records and tracks vehicles, customers and rental agreements.
Outline one benefit an electronic databases, compared to only keeping paper records, affords DriEv.
DriEv’s electronic database design includes the following schema:
tbl_vehicles(vehicle_id, year, brand, model, type) tbl_rentals(vehicle_id, start_date, days_rented, daily_rate, customer_id) tbl_customers(customer_id, last_name, first_name, email)
What is the degree relationship between tbl_vehicles records and tbl_rentals records respectively?
DriEv recently acquired a new Tesla Model S to add to its growing fleet of EVs.
Write an SQL insert statement to add a new Tesla Model S to the database where the vehicle id, brand, model and type are 172737, “Tesla”, “Model S” and “Liftback” respectively (year is not provided).
Alaister, a manger at DriEv, would like to know how many unique customers in total have rented a Tesla vehicle since the company was founded.
Create a query to fulfil Alaister’s request for information.

Extended Response12 MarksPremium
5 Uses14 Views2 Likes