Sorting in SQLis accomplished with ORDER BY
Sort keys are either the field names or column numbers
To sort data in a descending order, add the keyword DESC after the sort key
i.e.:
SELECT forename, surname, nationality FROM drivers
ORDER BY surname DESC, forename
or
SELECT forename, surname, nationality FROM drivers
ORDER BY 2 DESC,1
Formel 1 Data: https://ergast.com/mrd/db/#csv
#sql #sort #order #databases #sorting
On this page of the site you can watch the video online Sorting in SQL | SQL Bits | Kovolff with a duration of hours minute second in good quality, which was uploaded by the user kovolff 01 December 2020, share the link with friends and acquaintances, this video has already been watched 72 times on youtube and it was liked by 2 viewers. Enjoy your viewing!