Write a program to connect Python with MySQL using database connectivity and perform the following operations on data in database_094126
Write a program to connect Python with MySQL using database connectivity and perform the following operations on data in database_094126
TABLE
PROGRAM
OUTPUT
Updating the data Deleting the data.
3. Display the price of book which has price between 300 to 500.
5. To display the Book_Id, Book_Name and quantity issued for all books
which have been issued.
6. To display the Bookname and Price of Books for all books having „C++‟
in the bookname
8. Show all book whose book name started with character „T‟
10. Write a SQL command to delete the column charges from hospital
table.
11. Write a SQL command to increase the charges by 10% for all ENT
doctors
13. Write a SQL command to show the maximum charges of male and
female doctors.
14. Write a SQL command to display the details of all male doctors whose
age is between 19-
35.