[Solved] ITSE2309 Database Programming: Oracle Lab 2 Basic SQL Select Statements

$25

File Name: ITSE2309__Database_Programming__Oracle_Lab_2__Basic_SQL_Select_Statements.zip
File Size: 687.66 KB

SKU: [Solved] ITSE2309 – Database Programming: Oracle Lab 2 – Basic SQL Select Statements Category: Tag:
5/5 - (1 vote)

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 tables structure.

  1. Display a list of all data contained in the BOOKS table.
  1. List the title only of all books available in inventory, using the BOOKS table.
  1. List the title and publication date for each book in the BOOKS table. Use the column heading Publication Date for the Pubdate field.
  1. List the customer number for each customer in the CUSTOMERS table, along with the city and state in which the customer lives.
  1. Create a list containing the publishers name, the person usually contacted, and the publishers telephone number. Rename the contact column Contact Person in the displayed results. (Hint: Use the PUBLISHER table.)
  1. Determine which categories are represented in the current book inventory. List each category only once.
  1. 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.
  1. 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.
  1. 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.
  1. 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.

Upload only the SQL Statements to Blackboard.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ITSE2309  Database Programming: Oracle Lab 2  Basic SQL Select Statements[Solved] ITSE2309 Database Programming: Oracle Lab 2 Basic SQL Select Statements
$25