Python Select Static

Estimated reading: 1 minute 331 views

Python Select Static Operation

The Below shows the Operation For Select in static manner.

				
					conn = pymysql.connect(
        host='localhost',
        user='root',
        password="12345",
        db='sakila',
)
#print(conn)


cur = conn.cursor()
#print(cur)

string_Query = "select * from olympix_data_organized"

op_res = cur.execute(string_Query)
print(op_res)
				
			

Leave a Comment

CONTENTS