Cash-back offer from May 2nd to 7th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 16.00

DBST651 Final Part 2 | Complete Solution

Question posted by
Online Tutor Profile
request

Question 1:
The diagram below (also attached in DBST651_final_part2_ERD.pdf ) is an ERD for an order entry database for a company. A customer orders products through company employee.


Study the ERD and answer the following questions:
Identify all relationships and specify cardinality and business rules. For example: 1:M between Customer and Orders: a customer can place many orders; an order will be placed by one and only one customer.
For each entity, identify primary key and foreign key if any. For foreign key, also specify parent entity and matching attribute in parent entity.
Write SQL DDL statements to create tables in Oracle and also implement primary key, foreign key, and NOT NULL constraint. Include all columns listed with the correct data type. This step is important as in Question 2 you will run INSERT statements to populate the tables you created and then write SELECT statement to query those tables.
Write SQL statement for the following scenario:
Add a new customer John Smith with custono 1 and custzip 23456.
Save changes permanently.

Available Answer
$ 16.00

[Solved] DBST651 Final Part 2 | Complete Solution

  • This solution is not purchased yet.
  • Submitted On 04 Dec, 2017 09:30:59
Answer posted by
Online Tutor Profile
solution
Primary Key CUSTNO Orders: Primary Key Foreign Key ORDNO CUSTNO (Parent: Customer, C...
Buy now to view the complete solution
Other Similar Questions
User Profile
AceTu...

DBST651 Final Part 2 | Complete Solution

Primary Key CUSTNO Orders: Primary Key Foreign Key ORDNO CUSTNO (Parent: Customer, CUSTNO) EMPNO (Parent: Employee, EMPNO) Employee: Primary Key Foreign Key EMPNO SUPEMPNO (Parent: Employee, EMPNO) Product: Primary...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35