0% found this document useful (0 votes)
12 views

DBI202 Assignment Group5

Uploaded by

MTL Crafter
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

DBI202 Assignment Group5

Uploaded by

MTL Crafter
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

ASSIGNMENT

ASSIGNMENT
DBI202 – SE1806 – Group 5
Lecture: KheoCM
Member:
01 Tan Loc
Slide & Present 02 Toan Thang
Present
Group 1

03 Quang Huy
Demo 04 Minh Huy
Demo

05 Quoc Thai
Demo
Badminton
Introduction
Reason for choosing a topic:
As everyone knows, the demand for physical exercise and sports
is increasing, and among these, badminton is becoming very

popular. To meet this growing demand, it is crucial to develop a
product management database.
ERD – Group 5
00
Details
of Tables
Create Table Suppliers
(

01
Supplier_ID Int Primary Key,
Supplier_Name Varchar (100) Not Null,
Country Varchar (50),
Phone Varchar (20)
);
Create Table Products
(
Product_ID Int Primary Key,
Product_Name Varchar (100) Not Null,

02 Category Varchar (50),


Quantity Int,
Price Decimal (10, 2),
Supplier_ID Int Foreign Key References Suppliers (Supplier_ID)
);
Create Table Customers
(
Customer_ID Int Primary Key,

03 Customer_Name Varchar (100) Not Null,


City Varchar (50),
Country Varchar (50),
Phone Varchar (20)
);
Create Table Orders
(
Order_ID Int Primary Key,

04
Order_Date Date,
Status Varchar (50),
Total_Amount Decimal (10, 2),
Customer_ID Int Foreign Key References Customers (Customer_ID)
);
Create Table Order_Details
(
Order_Detail_ID Int Primary Key,
Quantity Int,

05 Unit_Price Decimal (10, 2),


Order_ID Int Foreign Key References Orders (Order_ID),
Product_ID Int Foreign Key References Products (Product_ID)
);
Demo
00
#Code

You might also like