Cattle brush off questions -SQL-

Cattle passenger SQL topic

1. paging query employees table, each row 5 a, the return data page 2

     Analysis: The second page data, ie 6-10

1 SELECT * FROM employees LIMIT 5,5
  • LIMIT n, m: starting the n-th recording, records returned m

 

Guess you like

Origin www.cnblogs.com/Nooni/p/12663890.html