We use the ORDER BY
keyword to sort our query results.
DESC
(short for descending) after the column which wish to order by:
price / weight
OFFSET
- Any time we want to skip some number of records within a result set.
LIMIT
- will constrain the number of records we get back from a query.
LIMIT 1
will give you the most or least of some result.
LIMIT
and ORDER BY
LIMIT
, ORDER BY
and OFFSET
LIMIT
goes before OFFSET
LIMIT
and OFFSET