Professional Documents
Culture Documents
import mysql
mcu=marvel.MySQLConnection(user="
root",password="nda",database="kw81")
cur=mcu.cursor()
cur.execute(q1)
mcu.commit()
mcu.close()
import mysql
mcu=marvel.MySQLConnection(user="
root",password="nda",database="12a")
cur=mcu.cursor()
cur.execute(q1)
cur.execute(q2)
cur.execute(q3)
cur.execute(q4)
cur.execute(q5)
cur.execute(q6)
cur.execute(q7)
cur.execute(q8)
mcu.commit()
mcu.close()
import mysql
mcu=marvel.MySQLConnection(user="
root",password="nda",database="kw81")
cur=mcu.cursor()
cur.execute(q1)
cur.execute(q2)
mcu.commit()
mcu.close()
SCREEN BEFORE PROGRAMME :
import mysql
mcu=marvel.MySQLConnection(user="
root",password="nda",database="kw81")
cur=mcu.cursor()
cur.execute(q1)
output=cur.fetchall()
print(allof)
cur.execute(q2)
output2=cur.fetchone()
cur.execute(q3)
output3=cur.fetchone()
mcu.commit()
mcu.close()
AFTER RUNNING THE PROGRAME :
UPDATE TOTAL
import mysql
mcu=marvel.MySQLConnection(user="
root",password="nda",database="kw81")
cur=mcu.cursor()
cur.execute(q1)
cur.execute(q2)
cur.execute(q3)
cur.execute(q4)
cur.execute(q5)
cur.execute(q6)
cur.execute(q7)
mcu.commit()
mcu.close()