MySQL query -------------- Advanced 8: paging query

# Advanced 8: paging query 
/ * 
Scenario: To display the data, a display incomplete, paged through a request submitted sql 
syntax:	 
	the SELECT list of queries from the table join type [join] Table 2 on the join condition 
	[where] [Filters group by group having] [] [] order by field 
	; limit offset, size 

	offset entries to be displayed starting index (index from 0) 
	the number of entries size to be displayed 
* / 

query first five employee information: case # 
select * from 0,5 limit the employees; 

# case: employee information queries 11 to 25 
select * from employees limit 11,15;

  

Guess you like

Origin www.cnblogs.com/ivyharding/p/11545094.html