Kendriya Vidyalaya Rajnandgaon Computer Science: Xii Practical List: Term Ii Python & Mysql
Kendriya Vidyalaya Rajnandgaon Computer Science: Xii Practical List: Term Ii Python & Mysql
4. Consider the following tables and answer the following Table : Book
Book_Id Book_Name Author_Name Publisher Price Type Quantity
C0001 Fast Cook LataKapoor EPB 355 Cookery 5
F0001 The Tears William Hopkins First Pub 650 Fiction 20
T0001 My First C++ Brain & Brooke EPB 350 Text 10
T0002 C++ Brain works A.W. Rossaine TDH 350 Text 15
F0002 Thunderbolts Anna Roberts First Pub 750 Fiction 50
Table : Issued
Book_Id Issuedto Quantity_Issued
T0001 Kamal 4
C0001 Arvind 5
F0001 Suresh 2
1. To show Book id, Book name, Author name and price of books of First Pub Publisher
2. To display the names and price of books in ascending order of their prices.
3. Display the price of book which has price between 300 to 500.
4. To increase the price of all books of EPB publishers by 50.
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
7. Delete the book whose book id is T0002
8. Show all book whose book name started with character ‘T’