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)
In questa pagina del sito puoi guardare il video online Python & SQLite: Format Results & Order By della durata di ore minuti seconda in buona qualità , che l'utente ha caricato BitCode 19 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 611 volte e gli è piaciuto 18 spettatori. Buona visione!