Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I wan a screenshot in sql developer for this table shown that the records is inserted in out put for each table? CREATE TABLE orderedProduct(

I wan a screenshot in sql developer for this table shown that the records is inserted in out put for each table?

CREATE TABLE orderedProduct( orderNO int, productNo varchar(5), orderQuantity int NOT NULL, FOREIGN KEY (orderNO) REFERENCES customerOrder(orderNO), FOREIGN KEY (productNo) REFERENCES Product(productNo),

INSERT INTO orderedProduct Values ( 30178,'CS464', 25);

INSERT INTO orderedProduct Values ( 30179,'CS262', 60);

INSERT INTO orderedProduct Values ( 30179,'PA60', 20);

INSERT INTO orderedProduct Values ( 30182,'PA60', 30);

INSERT INTO orderedProduct Values ( 30184,'CS464', 120);

INSERT INTO orderedProduct Values ( 30184,'PA45', 20);

INSERT INTO orderedProduct Values ( 30185,'CS464', 260);

INSERT INTO orderedProduct Values ( 30185,'PA60', 15);

INSERT INTO orderedProduct Values ( 30186,'PS222', 600);

INSERT INTO orderedProduct Values ( 30186,'PA45', 3);

INSERT INTO orderedProduct Values ( 30188,'PA60', 180);

INSERT INTO orderedProduct Values ( 30188,'PH222', 92);

CREATE TABLE Price143 ( priceCode INTEGER(20), newPrice decimal(9,2), originalPrice decimal(9,2), productNO char(10), PRIMARY KEY(priceCode), FOREIGN KEY (productNO) REFERENCES product143(ProductNo) );

INSERT INTO Price143 VALUES (2413,50,40.1,'3');

INSERT INTO Price143 VALUES (2852,150,120.0,'9');

INSERT INTO Price143 VALUES (2521,70,60.8,'0');

INSERT INTO Price143 VALUES (3512,1000,900.7,'1');

INSERT INTO Price143 VALUES (2466,30,20.75,'2');

INSERT INTO Price143 VALUES (2365,76,70.5,'7');

INSERT INTO Price143 VALUES (1235,10,7.0,'5');

INSERT INTO Price143 VALUES (9531,60,50.2,'3');

INSERT INTO Price143 VALUES (6312,120,110.7,'20');

INSERT INTO Price143 VALUES (2331,800,750.6,'16');

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

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

Why are duplicate tuples not allowed in a relation?

Answered: 1 week ago