Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Oracle 12C / SQL Commands To determine the exact name of fields used in the tables for these exercises, refer to the tables in the
Oracle 12C / SQL Commands
To determine the exact name of fields used in the tables for these exercises, refer to the tables in the JustLee Books database, or use the DESCRIBE tablename command to view the table's structure. Question # 1 N 3 3 4 5 6 Instruction Display a list of all data contained in the BOOKS table. List the title only of all books available in inventory, using the BOOKS table. List the title and publication date for each book in the BOOKS table. Use the column heading "Publication Date" for the Pubdate field. List the customer number for each customer in the CUSTOMERS table, along with the city and state in which the customer lives. Create a list containing the publisher's name, the person usually contacted, and the publisher's telephone number. Rename the contact column "Contact Person" in the displayed results. (Hint: Use the PUBLISHER table.) Determine which categories are represented in the current book inventory. List each category only once. List the customer number from the ORDERS table for each customer who has placed an order with the bookstore. List each customer number only once. Create a list of each book title stored in the BOOKS table and the category in which each book belongs. Reverse the sequence of the columns so that the category of each book is listed first. Create a list of authors that displays the last name followed by the first name for each author. The last names and first names should be separated by a comma and a blank space. List all information for each order item. Include an item total, which can be calculated by multiplying the Quantity and Paideach columns. Use a column alias for the calculated value. to show the heading "Item Total" in the output. 7 8 9 10 To determine the exact name of fields used in the tables for these exercises, refer to the tables in the JustLee Books database, or use the DESCRIBE tablename command to view the table's structure. Question # 1 N 3 3 4 5 6 Instruction Display a list of all data contained in the BOOKS table. List the title only of all books available in inventory, using the BOOKS table. List the title and publication date for each book in the BOOKS table. Use the column heading "Publication Date" for the Pubdate field. List the customer number for each customer in the CUSTOMERS table, along with the city and state in which the customer lives. Create a list containing the publisher's name, the person usually contacted, and the publisher's telephone number. Rename the contact column "Contact Person" in the displayed results. (Hint: Use the PUBLISHER table.) Determine which categories are represented in the current book inventory. List each category only once. List the customer number from the ORDERS table for each customer who has placed an order with the bookstore. List each customer number only once. Create a list of each book title stored in the BOOKS table and the category in which each book belongs. Reverse the sequence of the columns so that the category of each book is listed first. Create a list of authors that displays the last name followed by the first name for each author. The last names and first names should be separated by a comma and a blank space. List all information for each order item. Include an item total, which can be calculated by multiplying the Quantity and Paideach columns. Use a column alias for the calculated value. to show the heading "Item Total" in the output. 7 8 9 10Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started