Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
SELECT firstname, surname
FROM people
WHERE country = 'Mexico'
Info

For conditions, you must use single 'quotations’ rather than double

The SQL ORDER BY Clause

The ORDER BY clause is used to sort your columns of data by a particular ordering e.g. ASC ascending or DESC descending and even across multiple columns for more advanced sorting.

...