Interface Python With SQL Database
Interface Python With SQL Database
1. Write a MySQL-Python connectivity to retrieve the data from students table of record database who have got
marks more than 95% in only Physics and Chemistry.
2. Write a MySQL-Python connectivity code to retrieve one record at a time from table Employee of record
database who live in Delhi.
3. Write a program using MySQL-Python to insert a record in a table doctor of record database where columns are
DID, Dname, Area. Column values should be entered by the user.
4. Write a program using MySQL-Python to update table employee of record database. Salary column should be
increase by 10% where employee name must be started with letter ‘A’ and third letter should be ‘h’.
5. Write a program using MySQL-Python that delete record from student table of database school that have
name=”mayur”