GRADE -
XII
MYSQL-PYTHON
CONNECTIVITY
PRACTICE
QUESTIONS
1. Write the code to check whether
the database has been created or not using Python interface.
2. Write a code to create a table
‘student’ inside the database ‘school’ using Python as the interface.
3. Write the code to insert
multiple records into the table student through Python interface.
4. How can we display all the
records of a student table in Python?
5. Write the code to display all
the records along with the total number of records from the student table using
Python shell.
Comments
Post a Comment