nerdexam
Microsoft

70-433 · Question #76

You have two tables named Customer and SalesOrder. In the Customer table you have 1000 customers, of which 900 customers have orders in the SalesOrder table. You execute the following query to list…

The correct answer is C. The 1000 rows in the Customer table. See the full explanation below for the reasoning.

Question

You have two tables named Customer and SalesOrder. In the Customer table you have 1000 customers, of which 900 customers have orders in the SalesOrder table. You execute the following query to list all customers that have had at least one sale. SELECT * FROM Customer WHERE Customer.CustomerID IN (SELECT Customer.CustomerID FROM SalesOrder) You need to identify the results of the query. Which results will the query return?

Options

  • ANo rows
  • BA warning message
  • CThe 1000 rows in the Customer table
  • DThe 900 rows in the Customer table with matching rows in the SalesOrder table

How the community answered

(37 responses)
  • A
    16% (6)
  • B
    3% (1)
  • C
    73% (27)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice