Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DATABASE SYSTEM CLASS: Please help me: 1. Define a view named ItemOrder. It consists of the item number, description, price, order number, order date, number

DATABASE SYSTEM CLASS:

Please help me:

1. Define a view named ItemOrder. It consists of the item number, description, price, order number, order date, number ordered, and quoted price for all order lines currently on file. a. Using SQL, write the view definition for ItemOrder. b. Write an SQL query to retrieve the item number, description, order number, and quoted price for all orders in the ItemOrder view for items with quoted prices that exceed $100. c. Convert the query you wrote in Question 3b to the query that the DBMS will actually execute.

2. What are stored procedures? What purpose do they serve?

3. Write the SQL commands to obtain the following information from the system catalog: a. List every table that you created. b. List every field in the Customer table and its associated data type. c. List every table that contains a field named ItemNum.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started