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
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