MySQL Queries
MySQL Queries
O/P:
v. To display C_ID, BrandName, P_ID and ProductName form table PRODUCT and CLIENT
O/P:
vi. To display the details of Products whose Price is in the range of 50 to 100(Both values
included).
O/P:
vii. To display the ClientName, City from table Client, and ProductName and Price from
table Product, with their corresponding matching P_ID.
O/P:
O/P:
O/P:
x. To display maximum price of Face Wash from the table CLIENT
O/P:
O/P:
xii. To display BrandName of PRODUCT that begins with MA.
O/P:
O/P:
xvi. To delete the records from table CLIENT whose price is less than 45.
O/P:
O/P:
Python Interface with MYSQL
23. Write a python database connectivity script that creates and inserts value into
the table SCHOOLBUS of database STD12.
O/P:
24. Write a python database connectivity script that display the records of table
25. Write a python database connectivity script to increase the charges by 100
O/P:
26. Write a python database connectivity script that deletes records from the table SCHOOLBUS
that have name =”Yadhav Co”.
O/P: