Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
- OrderDetails (O_ID) is FK and refers to Customers (C_ID). - OrderDetails (ProductID) is refers to Orders (O_ID). 1. (25P) Write the necessary is FK
- OrderDetails (O_ID) is FK and refers to Customers (C_ID). - OrderDetails (ProductID) is refers to Orders (O_ID). 1. (25P) Write the necessary is FK and refers to Products (P_ID). a) All fields should be defin SQL code to create the "Customers" table as follows: b) Primary and foreign keys should be defined propriate variable types. c) C_ID should start from 100 and be defined properly. d) C_Lastname and C_FirstName should be intically increased by 5 with each new record. e) C_Birthday field cannot be NULL. f) C_CityID must have the default value 34
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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