Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a database named Shopping. Create a table called Customers that contains five columns, using suitable datatype : CustomerID ( Id ) . Primary Key
Create a database named "Shopping".
Create a table called Customers that contains five columns, using suitable datatype :
CustomerIDId "Primary Key"
CustomerNameName
CustomerMobileMobile "Not null"
CustomerAddressAddress
OrderNumberNumber "Foreign Key"
Create a table called Products that contains four columns, using suitable datatype:
ProductIDId "Primary Key"
ProductNameName "Not null"
ProductPricePrice
CustomerIDId "Foreign key"
Create a table called Orders that contains two columns, using suitable datatype:
OrderNumberNumber "Primary Key"
CustomerIDId "Foreign Key"
Table: customers
Columns:
CustomeriD
Customertame
CustomentMoble
CustomerAddress
Ordertiumber
int varchar
chart
char
Table: products
Columns:
ProductiD
Producttlame
Productence
CustomertD
char PK
varchar decrat
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