How to reverse the default ordering in Mysql?

前端 未结 5 1449
名媛妹妹
名媛妹妹 2020-12-20 18:29

In Mysql, when you execute a select SQL statement, there is a default ordering if you don\'t include a sorting clause, how to reverse the default ordering? Just add DE

5条回答
  •  礼貌的吻别
    2020-12-20 19:04

    Unless you can specify a column name in an ORDER BY clause, you can't use DESC, and you'll have to resort to tricks involving LIMIT to see the last few records.

    This would be unsatisfactory, I think.

提交回复
热议问题