How to sort values in columns and update table?

前端 未结 7 2524
花落未央
花落未央 2020-12-05 15:28

I\'m completely new to sql and can\'t do that myself. So I need your help. I want to sort values in column and then save changes. But I don\'t know how to do that.

T

7条回答
  •  Happy的楠姐
    2020-12-05 15:31

    You can use alter table command which is simpler.

    mysql> ALTER TABLE games ORDER BY name asc;
    

    That's all !

提交回复
热议问题