MySql database paging query

  Database paging query can improve the efficiency of query, and can ensure that each query is the latest data;

MySQL paging query only needs limit

select * from user_t limit 0 , 15 ;

This line means to query the data in the user_t table, and fetch 15 data from the 0th

If it is limit 16, 15; it means that 15 pieces of data are taken from the 16th piece of data, so that paging can be realized

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326360292&siteId=291194637