Multiple Choice
Figuer:
CUSTOMER In table CUSTOMER, CID is the primary key (Customer ID) .
RENTALS In the table RENTALS, RTN provides the rental number (the primary key) , CID is the customer's unique id, PICKUP is the city where the car was picked up, and Return is the city where the car was returned.
RENTCOST RENTCOST 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) shown in table RENTALS. In a database used in reality, this table would be merged with the RENTALS table.
-SELECT DISTINCT CID,CNAME FROM CUSTOMER
WHERE CID IN
(SELECT CID FROM RENTALS WHERE MAKE IN ('FORD','TOYOTA')
AND RTN IN
(SELECT RTN FROM RENTLENGTH
WHERE DAYS < 3) )
The CNAMEs shown by the execution of this query are:
A) BLACK
B) BLACK, JONES
C) BLACK, JONES, MARTIN
D) JONES, MARTIN
Correct Answer:

Verified
Correct Answer:
Verified
Q13: Figuer:<br>CUSTOMER <span class="ql-formula" data-value="\begin{array} {
Q14: Nested queries can be used as part
Q15: When using the SUM function with two
Q16: A nested query in which the inner
Q17: A nested query cannot have multiple levels,i.e.you
Q19: Select the statement that is correct about
Q20: In Access,a nested query in the FROM
Q21: The SQL keyword(s)_ in a SELECT query
Q22: When a problem narrative statement contains the
Q23: One-Sided Outer Join: an operator that generates