July 23, 2004

Getting the Top 10 MySQL Query Results.

Top 5 doesn't work too well in selecting SQL statements in MySQL. However an operator that limits the size of the result set is LIMIT.

For example,

SELECT * FROM tbl LIMIT 10;

Posted by Elyse at July 23, 2004 9:19 PM | TrackBack
Comments

dude thanks, ihad thatsame problem with mysql and this is the first page google showed me, and it was very very helpful thanks again

Posted by: hugo andres at September 28, 2007 1:08 PM
Post a comment









Remember personal info?