limit 1 in mysql code example
Example 1: mysql limit results to 10
SELECT
customerNumber,
customerName,
creditLimit
FROM
customers
ORDER BY creditLimit DESC
LIMIT 10;
Example 2: mysql limit
SELECT * FROM `members` LIMIT 1, 2;
Example 3: mysql limit
SELECT * FROM `members` LIMIT 1, 2;
or
$sql = "SELECT * FROM Orders LIMIT 30";