display1
Fri Jan 17 2025 08:24:38 GMT+0000 (Coordinated Universal Time)
Saved by
@enter123
import mysql.connector as c
mydb = c.connect(
host=" 172.16.25.53",
user="root",
password="1234",
database="cvr"
)
mycursor = mydb.cursor()
mycursor.execute("select * from sunny order by score asc")
students=mycursor.fetchall()
for std in students:
print(std)
content_copyCOPY
Comments