Is order by clause allowed in a subquery

前端 未结 9 1530
离开以前
离开以前 2020-12-10 14:34

Is there any reason why or why not you should do an \'order by\' in a subquery?

9条回答
  •  悲&欢浪女
    2020-12-10 15:25

    Smarter people say that is not proper/valid way to do it. In my case SELECT TOP 100 PERCENT in sub-query solved the problem.

    Cheers

提交回复
热议问题