Question: 4 . 7 . 1 : Database programming with Python. 5 4 6 3 8 6 . 3 9 5 9 5 7 0 .
: Database programming with Python.
qxzqy
from mysql import connector # load connector functions
connection connector.A
user'Blaise',
password'Pascal',
host'localhost',
database'college'
rowcursor connection.B
query 'SELECT FROM Room'
CDquery
for row in rowcursor.E: printrow
Fclose
GcloseThe Python code below prints out the names and capacities of all the rooms in the database. Fill in the missing keywords.ABCDEFG
connect
cursor
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
