CUSTOMER
RENTALS
In the table RENTALS, Rtn provides the rental number (the primary key., Cname refers to the Cname in Customer, Pickup is the city where the car was picked up, and Return is the city where the car was returned.
RENTCOST
In RENTCOST, COST shows the base cost of renting a given MAKE for one day.
CITYADJ
If the return city of table RENTALS is the one listed in table CITYADJ, the cost of the rental is multiplied by FACTOR and by DAYS shown in table RENTLENGTH below.
RENTLENGTH
RENTLENGTH shows the number of DAYS for the rental number (RTN) of the table RENTALS (this table exists for the sake of testing SQL. Normally, the data here should be part of table RENTALS.
-As a result of the execution of the query SELECT Cname,SUM(COST) as Totalrent
FROM RENTALS,RENTCOST
WHERE RENTALS.Make = RENTCOST.MAKE
GROUP BY Cname
The largest value found in the column Totalrent is:
A) 40
B) 70
C) 90
D) 100
Correct Answer:
Verified
Q51: Equal to (=),less than (<),and greater than
Q52: CUSTOMER Q53: The process of converting a request for Q54: CUSTOMER Q55: In the _ usage context of SQL,an Q57: CUSTOMER Q58: SQL is an acronym for _. Unlock this Answer For Free Now! View this answer and more for free by performing one of the following actions Scan the QR code to install the App and get 2 free unlocks Unlock quizzes for free by uploading documents