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.
-The execution of the query SELECT RENTALS.Cname,RENTALS.Make,CUSTOMER.Resid_City,RENTCOST.COST
FROM RENTALS,CUSTOMER,RENTCOST
WHERE RENTALS.Cname = CUSTOMER.Cname
AND RENTALS.Make = RENTCOST.MAKE
Produces the following number of rows:
A) 1 or 2
B) 3 or 4
C) 5 or 6
D) 7 or 8
Correct Answer:
Verified
Q39: Problems involving a chart of accounts in
Q40: CUSTOMER Q41: CUSTOMER Q42: A(n)_ in a SQL query is a Q43: In a table STUDENT containing 8 columns Q45: The _ statement in SQL is used Q46: The COMMIT,GRANT and REVOKE statements,used primarily by Q47: CUSTOMER Q48: If in your SQL select statement you Q49: CUSTOMER 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