Hello, I am trying to use RowNum keyword in SQL query but it is giving me error when used in simple query where as same RowNum keyword is accepted in SQL sub query. I am sharing my screenshot below.

Thanks in advance.

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tapan PatelRank #614 · 3.9K reputationPosted Nov 2, 2017, 5:40 AM EDT
Tapan PatelRank #614 · 3.9K reputationPosted Nov 1, 2017, 5:18 AM EDT
Vighnesh Gadekar56 reputationPosted Nov 1, 2017, 8:35 PM EDT