MySQL, ORDER BY insertion order, no sorting columns

后端 未结 4 1113
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-11 16:02

How can I order values from a table, ascending from the time they were inserted. There is no special column for this matter, like a timestamp or autoincrement.

I kno

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-11 16:18

    You can ORDER BY something you can get out of your table. If you do not have anything in there that can be used to find out the order you need, you cannot order by it.

提交回复
热议问题