How can I reorder rows in sql database

后端 未结 14 1838
忘了有多久
忘了有多久 2020-11-28 03:24

Is it possible to reorder rows in SQL database? For example; how can I swap the order of 2nd row and 3rd row\'s values?

The order of the row is important to me since

14条回答
  •  鱼传尺愫
    2020-11-28 03:34

    The order of the rows on the actual database should not matter.

    You should use the ORDER BY clause in your queries to order them as you need.

提交回复
热议问题