After PostgreSQL modifies the table, the order will be disrupted

Problem: When I modify the table data, the order of the table data is disturbed

insert image description here

The reason is that postgreSql will automatically put the modified data in the last row after the table is modified

Solution

can use order by

select * from users order by uid

Guess you like

Origin blog.csdn.net/qq_44862029/article/details/125481072