Technology in Business
Case Study
Garments Shop
NAME ADITYA BHATT
PRN 19030141004
Due September 26, 2020
Business Name: Garments Shop
Introduction: The business is a regular garments shops ranging from
inner wear to formals, it contains product for both men and women,
the products are also categorised based on age (kids, Teenagers,
Adults). with the sales employee and manager managing the working
and inventory of the store.
E-R Diagram:
Entity List:
Customer
Product
Sales_Employee
Manager
Sql Tables:
1. Customer Table:
Sql command:
Sql Output:
2. Product Table:
Sql command:
Sql Output:
3. Product Table:
Sql command:
Sql Output:
4. Product Table:
Sql command:
Sql Output:
VBA User Forms:
Registration Form
Enquiry Form
SQL Queries:
1) COUNT() , GROUP BY
SELECT COUNT(product_id), Company_name
FROM product
GROUP BY Company_name;
2) SUM()
SELECT SUM(product_quantity)
FROM product;
Stored Procedure:
CREATE PROCEDURE Select_all_Products @Company_name nvarchar(30)
AS
SELECT * FROM product WHERE Company_name = @Company_name
GO;
Graph:
Bar Graph,
Line Chart
Pie Chart