Which of the following SQL statements will list the name of each customer stored in the CUSTOMERS table, and, if the customer has placed an order that is contained in the ORDERS table, the order# of any order each customer has placed?

a. SELECT lastname, firstname, order#FROM customers NATURAL JOIN orders;
b. SELECT lastname, firstname, order#FROM customers c LEFT OUTER JOIN orders oON c.customer# = o.customer#;
c. SELECT lastname, firstname, order#FROM customers RIGHT OUTER JOIN orders;
d. SELECT lastname, firstname, order#FROM customers JOIN orders USING (customer#);


b

Business

You might also like to view...

Packaging is an important consideration for products that are shipped to markets worldwide. Which of the following statements related to packaging is not true?

A) Nestlé's worldwide network of packaging teams provide improvement suggestions on a quarterly basis. B) The Japanese prefer plain soft colors on their packages. C) The Aquafresh Ultimate tube was designed to stand vertically. D) Coca-Cola had contour bottles in both glass and plastic versions in many countries. E) Nestlé asked suppliers to find a glue to make the clicking sound louder when a tube of Smarties brand chocolate candies are unwrapped.

Business

Explain the value and characteristics of effective team goals.

What will be an ideal response?

Business

Opponents of Base of the Pyramid marketing argue that:

(a) The poor spend most of their money on basic needs and have little left over for other products. (b) The poor are difficult to reach because they are geographically dispersed and culturally heterogeneous. (c) Firms need very high penetration rates to be successful. (d) All of the above (e) (a) and (c) only

Business

A critical purpose of organizing business rules is for ________ by business stakeholders

A) verification B) supervision C) neglect D) none of the above

Business