Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

ORACLE-PAPER-4

Consider the above diagram and answer the following questions.


1) Write the table names and their column names?

2) Write the queries to create the tables?

3) Write the query to display all book names and their prices?

4) Write a query to display all author names?

5) Write a query to display all publisher names?

6)Write a query to insert any 2 publisher details into publishers table?


7) write a query to insert any 2 book details into books table?

8) Write a query to display book details if the book has publisher id?

9) Write the query to increase the book prices with 18% of present price?

10) Write the query to delete all book’s published dates?

11) write a query to delete all publisher details and cancel that deletion?

12) Write a query to add publisher address column in publisher table?

13) Write a query to change the table authors, to add author gender and
author mobile number?

14) Write a query to delete author id column from books table?

15) If we add any column to the existing table then what are the default values
in the new column?

16) Write a query to delete all book details? And how can I make this action as
permanent?

17) Write a query to delete the phone number of the author “Ivan Bayross”?

You might also like