Sorting Data into Table using SQLite3 #6 | Database in Python | SQLite3 Tutorial | SQLite |SDPGuruji

Publicado em: 03 Novembro 2020
no canal de: SDP Guruji
466
30

Python SQLite3 Tutorial, Python for Beginners, Python Database, Sorting Data into Table using SQLite3 in Hindi, Database in Python, SQLite3 Tutorial
In this tutorial, we are going to learn about the sorting of data. How we can apply to sort on our existing column which is present in the table is precisely explained over here. We have used the sqlite3 and IPL2020 database.
Sorting is done mainly in two types and both the types are explained in the video with an example:
1) Ascending / Default:
The sorting of data gets arranged in the form of ascending order that is from smaller value to larger one (maybe according to the alphabetical manner or numeric manner)
Syntax:
var1_name = var_name.execute(“ SELECT * FROM TABLE_NAME ORDER BY COLUMN_NAME”)
here, the column name can be any column’s name according to your choice.

2) Descending :
The sorting of data gets arranged in the form of descending order that is from larger value to smaller one (maybe according to the alphabetical manner or numeric manner)
Syntax:
var1_name = var_name.execute(“ SELECT * FROM TABLE_NAME ORDER BY COLUMN_NAME DESC”)
here, the column name can be any column’s name according to your choice.
DESC is used for data to get arranged in the descending format.

-----------------------------------------------------------------------------------------------------------------------------------

If you have missed anything regarding python, surf through these links below:

Delete Data from Table:    • Delete Data from Table using SQLite3 ...  

Update Data in Table:    • Update Record in SQLite3 #4 |SQLite3 ...  

Insert Data into Table:    • Insert Data into Table using SQLITE3 ...  

Create Table in Database:    • Create Table in SQLite3 #2| Python SQ...  

Create a Database in Python:    • Create Database in Python #1|Python S...  


Walrus Operator in Python:    • Walrus Operator in Python #9| Walrus ...  

Bitwise Operator in Python:    • Bitwise Operator In Python in Hindi #...  



--------------------------------------------------------------------------------------------------------------------------------------


You’ll also find us here!!


Website: https://sdpguruji.in/


Play Store App: https://play.google.com/store/apps/de...


Instagram:   / sdpguruji  


Facebook:   / sdp.guruji.3  


LinkedIn:   / sdpguruji  


Telegram: https://t.me/sdpguruji
--------------------------------------------------------------------------------------------------------------------------------------


For more such informative Python videos, color the thumbs up button blue, share the videos, and yes don’t forget to hit the subscribe button and press the bell icon for remainders.
Stay Tuned!!!


#SDPGuruji
#sortdataintablewithSQLite3
#sortinDatabase
#databaseinPython
#sorting
#sortdatainpython
#pythondatabase
#SQLite
#SQLite3
#databasetutorial
#SDPGurujiPython
#PythonSDPGuruji
#PythonTutorial
#Hindi


Nesta página do site você pode assistir ao vídeo on-line Sorting Data into Table using SQLite3 #6 | Database in Python | SQLite3 Tutorial | SQLite |SDPGuruji duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário SDP Guruji 03 Novembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 466 vezes e gostou 30 espectadores. Boa visualização!