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)
На этой странице сайта вы можете посмотреть видео онлайн Python & SQLite: Format Results & Order By длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь BitCode 19 Апрель 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 611 раз и оно понравилось 18 зрителям. Приятного просмотра!