MCQs > IT & Programming > ASP.NET With SQL Server > What is wrong with the following query? select * from Orders where OrderID = (select OrderID from OrderItems where ItemQty > 50)

ASP.NET With SQL Server MCQs

What is wrong with the following query?

select * from Orders where OrderID = (select OrderID from OrderItems where ItemQty > 50)

Answer

Correct Answer: The sub query can return more than one row, so, '=' should be replaced with 'in'

Explanation:

Note: This Question is unanswered, help us to find answer for this one

ASP.NET With SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

ASP.NET With SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it