Question:How is the following query incorrect? select * from Orders where OrderID = (select OrderID from OrderItems where ItemQty > 50) 

A In the sub-query, '*' should be used instead of 'OrderID' 

B The sub-query can return more than one row, so, '=' should be replaced with 'in' 

C The sub-query should not be in parenthesis 

D None of these 

+ Answer
+ Report
Total Preview: 560

Copyright © 2024. Powered by Intellect Software Ltd