Project DBL
Project DBL
DATABASE LAB
Mobile Shop Management
Group Members
Name’s Roll No
Abdullah Ejaz 22101001-004
Abdul-Hannan 22101001-012
Zaiden Arshad 22101001-029
M.Yasir 22101001-037
Topic:
Users should be able to create accounts, log in securely, and manage their profiles. Different
access levels (admin, customer) should have appropriate permissions.
2. Product Catalog:
Detailed descriptions for each mobile phone, highlighting features, specifications, user
reviews, and ratings to help customers make informed decisions.
System must Allow users to easily search and filter products based on various criteria like
brand, price range, specifications, and features.
5. Comparison Tool:
6. Shopping Cart:
System must have a shopping cart, in which user must be able to add and remove their
favourite items, View total cost and confirm order.
7. Payment Methods:
System must support various payment methods like credit and debit
cards, digital wallets, net banking, or cash on delivery, ensuring secure and seamless transactions.
Customers should be able to track their orders in real-time, receive updates on order
status, and access their order history for reference and reordering.
System must allow customers to share their thoughts. Allow people to write reviews
and give ratings for products so others can know what they think.
Real-time inventory tracking to ensure accurate stock levels are displayed, preventing
overselling and managing restocking efficiently.
System must have a control center for administrators to handle product listings, stock,
customer orders, and info, monitor sales data, and create reports for making smart business
choices.
Entity Relationship Diagram
DATABASE
);
);
create table product(
Product_id int primary key,
name varchar(20),
brand varchar(20),
Price int,
Avalibality Varchar(3)
);
create table Order_(
Order_id int primary key,
Total_price int,
Status Varchar(10),
Order_date int
);
create table order_contain_product(
order_id int,
Product_id
);
create table Payment(
payment_id int primary key,
payment_method varchar(30),
Amount int,
Payment_date int
);