Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the above entities in Oracle SQL Plus using DDL syntax. Make sure you include all appropriate constraints, referential integrity, PK, FK etc. Also plug

Create the above entities in Oracle SQL Plus using DDL syntax. Make sure you include all appropriate constraints, referential integrity, PK, FK etc. Also plug in the data below.

Question: How do you solve this and  How do you insert the data into SQL Plus on macbook?

  

cgmerchant PK Store ID State Zip Code city Store Type has cgManufacturer PK Manufacturer ID UC dc State Zip Code City Manuf Type FK1 Store ID H- 9898 7755 3739 6329 clothes shoes Rx TVs IBA cgManufacturer MANUFACTURER_ID MANUF_TYPE clothes shoes Rx TVS cgShipment SHIP_DATE TRUCK_NO 17-May-2009 4422 20-Jul-2009 2222 21-Jul-2009 9922 23-Jul-2009 7722 Shipment Ship Dats Truck No PK,FK1 Manufacturer ID PK PK DDL Exercise: Create the above entities in Oracle SQL Plus using DDL syntax. Make sure you include all appropriate constraints, referential integrity, PK, FK etc. Also plug in the data below. cgMerchant STORE_ID STORE_TYPE CITY Owings Mills Reistersown Harrisonburg Harrisonburg ZIP CODE 7755 9898 3739 6329 CITY 21117 21136 MD MD 22801 VA 22807 VA MANUFACTURER_ID Glen Burnie Los Angeles Detroit Miami STATE ZIP CODE cgProducts PK Product ID 21156 90088 45443 30588 FK1 Store 0 Product Name Product Price Product Cost contain cgDescription PKFK1 Product ID PK FK2 Shipment Date PK,FK2 Track N PK FK2 ManufactMERE IR MD Quantity Condition STATE STORE_ID 1 CA MI 3 FL 4 2

Step by Step Solution

3.56 Rating (153 Votes )

There are 3 Steps involved in it

Step: 1

asked to create the entities in oracle sql plus using DDL for that initially we have to take the given data and for that the entities are Create cgMerchant table CREATE TABLE cgMerchant STOREID NUMBER... 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

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

what are the six steps to effective financial statement analysis

Answered: 1 week ago