Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Log onto Oracle Live SQL . Create the following tables with script Lab 0 1 . sql I provided for you. Insert these 2 0
Log onto Oracle Live SQL
Create the following tables with script Labsql I provided for you.
Insert these records as shown in the following tables into the corresponding tables. Each
record is created with one INSERT INTO statement.
All these statements should be tested individually and saved together in one file Labsql
Customers CustomerID is PK
Employees EmployeeID is PK
Categories CategoryID is PK
Products ProductID is PK
CustomerID int PRIMARY KEY,
Customername varchar
Address varchar
City varchar
Postalcode varchar
;
Country varchar
CREATE TABLE Employees
EmployeeID int PRIMARY KEY,
LastName varchar
FirstName varchar
;
BirthDate DATE
CREATE TABLE Categories
CategoryID int PRIMARY KEY,
CategoryName varchar
;
CREATE TABLE Products
OrderDetails no PK is assigned
ProductID int PRIMARY KEY,
ProductName varchar
CategoryID int,
Unit varchar
Price int
;
CREATE TABLE orders
OrderID int PRIMARY KEY,
CustomerID int,
EmployeeID int,
OrderDate Date
CREATE TABLE orderDetails
OrderID int,
ProductID int,
Quantity int
;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started