question 9 please use the picture below to answer the following question Write a SQL statement to create a table named new_Invoice exactly the same as Invoice with data.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter7: User Creation And Management
Section: Chapter Questions
Problem 17MC
icon
Related questions
Question

question 9

please use the picture below to answer the following question

Write a SQL statement to create a table named new_Invoice exactly the same as Invoice with data.

Invoice table
Column
DEFAULT
PK
NOT NULL UNIQUE
FK
VALIDATION
Column Names
DataTypes
VALUE
InvoiceNum
|Integer
InvoiceDate
Date
CustomerNum
Integer
Invoice_Detail
Column
DEFAULT
table Column
PK
NOT NULL UNIQUE
FK
VALIDATION
DataTypes
VALUE
Names
Invoice_number |Integer
Prod_ID
Quantity
Integer
Integer
Value must
price
Decimal(3,0)
be >0
Transcribed Image Text:Invoice table Column DEFAULT PK NOT NULL UNIQUE FK VALIDATION Column Names DataTypes VALUE InvoiceNum |Integer InvoiceDate Date CustomerNum Integer Invoice_Detail Column DEFAULT table Column PK NOT NULL UNIQUE FK VALIDATION DataTypes VALUE Names Invoice_number |Integer Prod_ID Quantity Integer Integer Value must price Decimal(3,0) be >0
Employee
Customer
Invoice
PK EmployeelD
PK Customer_Number
Customer Name
PK Invoice_Number
Invoice_Date
FK Customer_Number
Emp_FName
Emp_LName
soc_Ins
FK Position_ID
FK Supervisor_ID
Location
FK Rep_ID
Invoice_Detail
Position
PK,
HireDate
Invoice_Number
FK1
PK Position_ID
PI,
Position
Prod_ID
FK2
Quantity
Title
Price
PK
Title_ID
Title
Author
Author_Product
Product
PK Author_ID
PK,
PK
Product_ID
Author_ID
FK1
Author_FName
FK
Title_ID
Edition
Author LName
PK,
Prod_ID
FK2
FK
Edition_ID
PK Edition_ID
Purchase_Cost
Edition
Retail_Price
Transcribed Image Text:Employee Customer Invoice PK EmployeelD PK Customer_Number Customer Name PK Invoice_Number Invoice_Date FK Customer_Number Emp_FName Emp_LName soc_Ins FK Position_ID FK Supervisor_ID Location FK Rep_ID Invoice_Detail Position PK, HireDate Invoice_Number FK1 PK Position_ID PI, Position Prod_ID FK2 Quantity Title Price PK Title_ID Title Author Author_Product Product PK Author_ID PK, PK Product_ID Author_ID FK1 Author_FName FK Title_ID Edition Author LName PK, Prod_ID FK2 FK Edition_ID PK Edition_ID Purchase_Cost Edition Retail_Price
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Multiple table
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
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning