Solved

Structure of the CUSTOMERS Table

Question 98

Multiple Choice

Structure of the CUSTOMERS table
Structure of the CUSTOMERS table    -Which of the following queries will display the first and last name of the individual who referred another customer, along with the customer# of the referred customer? A)  SELECT r.firstname, r.lastname, c.customer# FROM customers r, customers c WHERE r.customer# = c.referred; B)  SELECT r.firstname, r.lastname, c.customer# FROM customers r JOIN customers c ON r.customer# = c.referred; C)  SELECT r.firstname, r.lastname, c.customer# FROM customers r NATURAL JOIN customers c; D)  both a and b
-Which of the following queries will display the first and last name of the individual who referred another customer, along with the customer# of the referred customer?


A) SELECT r.firstname, r.lastname, c.customer# FROM customers r, customers c
WHERE r.customer# = c.referred;
B) SELECT r.firstname, r.lastname, c.customer# FROM customers r JOIN customers c
ON r.customer# = c.referred;
C) SELECT r.firstname, r.lastname, c.customer# FROM customers r NATURAL JOIN customers c;
D) both a and b

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents