Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
