How mysql database automatically another table inside the recently modified data synchronization data to a table inside

You should give your database to add a self-energizing type of field, which is inserted every time when the data is automatically increased by 1, with this field can be seen in data insertion order.

The order of the records in the database which is stored beyond our control, in order to improve the efficiency of the system, it may be stored in a variety of ways, and even different parts of the distribution of data in a different location on the disk. So, the programmer always remember that we can not control the location and order of the store, we use only the necessary data records important information.

Query the database data, you can specify the order of reality, using ORDER BY in the SQL statement.

Guess you like

Origin www.cnblogs.com/shujutongbu/p/11019915.html