1
CustomerとSalesOrderの2つのテーブルがあります。顧客テーブルには1000人の顧客があり、うち900人の顧客がSalesOrderテーブルに注文をしています。次のクエリを実行して、少なくとも1つの販売があったすべての顧客を一覧表示します。シンプルMCTS SQL Select
SELECT * FROM Customer WHERE Customer.CustomerID IN (SELECT Customer.CustomerID
FROM SalesOrder)
クエリの結果を特定する必要があります。クエリはどの結果を返しますか?
A. No rows
B. A warning message
C. The 1000 rows in the Customer table
D. The 900 rows in the Customer table with matching rows in the SalesOrder table
MCTSは、答えはCですが、私はD.
あなたはどう思いますかではない理由はわからないと主張していますか?