Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql select top 2

SELECT x,y 
FROM z 
LIMIT 0,2;
// the first value in limit corresponds to start index, 
// the second value is the number of records to show
 
PREVIOUS NEXT
Tagged: #mysql #select #top
ADD COMMENT
Topic
Name
1+5 =