The following relations kind a part of a on-line database (the relations area unit self-explanatory):   CUSTOMER/CLIENT/SHOPPERS/BUYERS(Cust#, CAddress, Ctown, Balance,Cname) ORDER(Order.#, Date, Cust#.) ORDERLINE(Order#, Part#., Amount-Ordered) PART(Part#., Desc, Stock, Item-Class, Unit -Price)   Design a physical ER for the above scenario.   With respect to this relative schema, write SQL statements for the subsequent queries:   List the name of the client United Nations agency has placed Order 123 (i.e. Order: = 123). List the names of shoppers United Nations agency in Cardiff and have ordered half 456 (i.e. Part. 456). List the order numbers (Order) for orders that contain a minimum of three elements and also the quantity ordered are minimum of ten. List the outline (Desc), of these elements that the typical quantity ordered is bigger than the number ordered for half .6 (Part. = 456) so as 123.(Order. .123).

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter1: Overview Of Database Concepts
Section: Chapter Questions
Problem 5HOA: Access path A database table is composed of records and fields hold data. Data is stored in records....
icon
Related questions
Question

 

  1. The following relations kind a part of a on-line database (the relations area unit self-explanatory):

 

CUSTOMER/CLIENT/SHOPPERS/BUYERS(Cust#, CAddress, Ctown, Balance,Cname)

ORDER(Order.#, Date, Cust#.)

ORDERLINE(Order#, Part#., Amount-Ordered)

PART(Part#., Desc, Stock, Item-Class, Unit -Price)

 

  1. Design a physical ER for the above scenario.

 

  1. With respect to this relative schema, write SQL statements for the subsequent queries:

 

  1. List the name of the client United Nations agency has placed Order 123 (i.e. Order: = 123).
  2. List the names of shoppers United Nations agency in Cardiff and have ordered half 456 (i.e. Part. 456).
  3. List the order numbers (Order) for orders that contain a minimum of three elements and also the quantity ordered are minimum of ten.
  4. List the outline (Desc), of these elements that the typical quantity ordered is bigger than the number ordered for half .6 (Part. = 456) so as 123.(Order. .123).
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Transaction Processing
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning