SQL ORDER BY and LIMIT
ORDER BY sorts the result; add DESC for high-to-low. LIMIT caps how many rows come back.
Try it yourself
Loading editor…
ORDER BY sorts the result; add DESC for high-to-low. LIMIT caps how many rows come back.
Loading editor…