SQL The ORDER BY Keyword
SELECT column_name(s) FROM table_name ORDER BY column_name(s) ASC|DESC ORDER BY Example The “Persons” table: Now we want to select all the persons from the table above, however, we want to sort the persons by their last name.We use the following SELECT statement: The result-set will look like this: ORDER BY DESC Example Now we want … Read more