Welcome to another SQLite tutorial, in this tutorial we are going to look at order by clause in SQL and how we can format the output, so that it looks better.
We are using the module pretty table to format the results.
Link: https://pypi.org/project/prettytable/
So lets talk about the ORDER BY clause.
The ORDER BY keyword is used to sort the result-set in ascending or descending order.
The ORDER BY keyword sorts the records in ascending order by default. To sort the records in descending order, use the DESC keyword.
Keyboard I Use: https://amzn.to/2NgjPFV
(Affiliate Link, Helps the Channel)
Auf dieser Seite können Sie das Online-Video Python & SQLite: Format Results & Order By mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer BitCode 19 April 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 611 Mal angesehen und es wurde von 18 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!