sql limit
snippet in sql

sql limit to 5 results

user6652

SELECT expressions
FROM tables
[WHERE conditions]
[ORDER BY expression [ ASC | DESC ]]
LIMIT number_rows [ OFFSET offset_value ];

mysql limit

user1342

SELECT * FROM `members` LIMIT 1, 2;

rownum in sql

user5274

SELECT ROWNUM, a.*
FROM (SELECT customers.*
      FROM customers
      WHERE customer_id > 4500
      ORDER BY last_name) a;

How to display top 50 rows?

user1019

In MySQL, top 50 rows are displayed by using this following query:
SELECT * FROM
LIMIT 0, 50;