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 CNAME FROM CUSTOMER
WHERE CID IN
(SELECT CID FROM RENTALS WHERE RETURN IN
(SELECT BIRTHPLACE FROM CUSTOMER) )
What is the meaning of this query?
A) List customers whose rental was returned to their birthplace
B) List customers whose rental was returned to someone else's birthplace
C) List customers whose rental was returned to a city that is also a birthplace
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q29: Type II nested queries are very useful
Q30: Figuer:<br>CUSTOMER <span class="ql-formula" data-value="\begin{array} {
Q31: Figuer:<br>CUSTOMER <span class="ql-formula" data-value="\begin{array} {
Q32: Figuer:<br>CUSTOMER <span class="ql-formula" data-value="\begin{array} {
Q33: _ nested queries are also known as
Q35: The following SQL statement would execute in
Q36: The COUNT(*)function always returns the same value
Q37: Figuer:<br>CUSTOMER <span class="ql-formula" data-value="\begin{array} {
Q38: Figuer:<br>VOTE <span class="ql-formula" data-value="\begin{array} {
Q39: Figuer:<br>CUSTOMER <span class="ql-formula" data-value="\begin{array} {