This is my query:= select * from (select Questions from Tble_Questions ORDER BY Questions)A WHERE A.Questions between 1 and 10
Error: The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.


Ranjit PowarRank #553 · 4.4K reputationPosted Dec 16, 2015, 11:13 PM EST
select Questions from Tble_Questions
WHERE Questions between 1 and 10
Order by Questions
Abhilash J ARank #1,243 · 1.4K reputationPosted Dec 16, 2015, 11:22 PM EST