• A database is a collection of information that is organized so that it can easily be accessed, managed, and 
updated. 
INTRODUCTION 
• A database management system (DBMS) is the software that allows a computer to perform database 
functions of storing, retrieving, adding, deleting and modifying data.
ADVANTAGE OF DBMS IN GARAGE 
1. Controlling Data Redundancy 
2. Data Consistency 
3. Data Sharing 
4. Data Integration 
5. Data Security 
6. Data Atomicity 
7. Data Independence
INTRODUCTION TO PROJECT 
• In the project garage management system it defines and manages each operational 
event in a details of purchased,stock of goods,services and other important inventory 
facility. 
• Project support hundered of concurrent users requesting maintainance job offers for 
car maintenance and garage management system and minimize total time to 
maintenance job offer request with completion . 
• Estimate cost of Jobs for external customers. 
• Complete service history and repair tracking. 
• Complete Material/ Spare Parts management including. 
• Purchase Orders, bill Issues and Inventory.
E_name E_id 
phno email 
employee 
Date_of_join 
Ph_no 
address 
attended 
serviced 
S_price 
S_no 
qty 
charges 
B_no bills 
P_price 
C_id Parts_repaired 
P_id P_name 
parts 
P_price 
brand 
qty 
customer 
Veh_no 
Veh_color 
ER DIAGRAM 
C_name 
C_id 
wo 
rks
relation r 
• relation instance
superkey 
candidate key 
primary key 
• Foreign key 
• Referencing 
• Referenced
Employee 
E_ID E_name Salary Address E_mail Ph No Date_of_Joining Age 
Service 
S_no C_ID Qty E_ID P_ID Total_Price 
Parts 
P_ID P_name P_qty S_price Brand Date_of_purchase P_price 
Bill 
C_ID P_ID Date Qty 
Customer 
C_ID Vehicle_no C_name Vehicle_color Date_of_Entry Date_of_Exit Problem
Employee 
E_ID E_name Salary Address E_mail Ph No Date_of_Joining Age 
Service 
S_no C_ID Qty E_ID P_ID Total_Price 
Parts 
P_ID P_name P_qty S_price Brand Date_of_purchase P_price 
Bill 
C_ID P_ID Date Qty 
Customer 
C_ID Vehicle_no C_name Vehicle_color Date_of_Entry Date_of_Exit Problem
check
QUERY 
create table employees(emp_id number(5) ,e_name 
varchar(20),email varchar(20),phno number(15),address 
varchar(30),salary number(10),date_of_join date) 
alter table employees add primary key(emp_id)
TABLE FOR SERVICED 
create table serviced(s_no number(10),s_price 
number(10),qty number(4),p_id number(10),c_id 
number(10),primary key(s_no))
TABLE FOR BILLS 
create table bills(b_no varchar(5),c_id 
number(10),parts_repaired varchar(20),parts_price 
number(10),primary key(b_no))
TABLE FOR CUSTOMER 
create table customer(c_id number(10),c_name 
varchar(20),veh_no number(10),date_of_entry 
date,date_of_exit date,veh_color varchar(20),problem 
varchar(20),primary key(c_id))
TABLE FOR PARTS 
create table parts(p_id varchar(10),p_name 
varchar(20),qty_received number(5),p_qty 
number(5),p_price number(5),comp_name 
varchar(20),date_of_purchase date) 
alter table parts add primary key(p_id)
Normalisation 
E_ID E_name Salary Address E_mail Ph No Date_of_Joining Age 
E_ID Ph No 
1NF 22NFF 33NFF BCNF 
E_ID E_name Salary Address E_mail Date_of_Joinin 
g 
Age 
Employee 
E1 E2
Service 
S_no C_ID Qty E_ID P_ID Total_Price 
1NF 
S1 S3 
S_no E_ID 
S_NO C_ID Total_Price 
S2 
2NF 3NF BCNF 
S_no P_ID Qty
Parts 
P_ID P_name P_qty S_price Brand Date_of_purchase P_price 
P1 1NF P2 2NF 3NF BCNF 
P_ID Date_of_purchase P_name P_qty P_ID Date_of_purchase Brand S_price P_price
C_ID P_ID Date Qty 
C_ID Vehicle_no C_name Vehicle_color Date_of_Entry Date_of_Exit Problem 
C_ID C_name Vehicle_number Vehicle_color Date_of_Entr 
C_ID C_name 
y 
Date_of_exi 
t 
C_ID Vehicle_n 
o 
Problem 
C_ID Vehicle_no Date_of_entr 
y 
Date_of_exit 
Bill 
Customer 
C1 C2 
C1.1 C1.3 
BCNF 
1NF 
C1.2 
Vehicle_no Vehicle_color 
2NF 3NF BCNF
Garrage management system

Garrage management system

  • 2.
    • A databaseis a collection of information that is organized so that it can easily be accessed, managed, and updated. INTRODUCTION • A database management system (DBMS) is the software that allows a computer to perform database functions of storing, retrieving, adding, deleting and modifying data.
  • 3.
    ADVANTAGE OF DBMSIN GARAGE 1. Controlling Data Redundancy 2. Data Consistency 3. Data Sharing 4. Data Integration 5. Data Security 6. Data Atomicity 7. Data Independence
  • 4.
    INTRODUCTION TO PROJECT • In the project garage management system it defines and manages each operational event in a details of purchased,stock of goods,services and other important inventory facility. • Project support hundered of concurrent users requesting maintainance job offers for car maintenance and garage management system and minimize total time to maintenance job offer request with completion . • Estimate cost of Jobs for external customers. • Complete service history and repair tracking. • Complete Material/ Spare Parts management including. • Purchase Orders, bill Issues and Inventory.
  • 5.
    E_name E_id phnoemail employee Date_of_join Ph_no address attended serviced S_price S_no qty charges B_no bills P_price C_id Parts_repaired P_id P_name parts P_price brand qty customer Veh_no Veh_color ER DIAGRAM C_name C_id wo rks
  • 7.
    relation r •relation instance
  • 8.
    superkey candidate key primary key • Foreign key • Referencing • Referenced
  • 10.
    Employee E_ID E_nameSalary Address E_mail Ph No Date_of_Joining Age Service S_no C_ID Qty E_ID P_ID Total_Price Parts P_ID P_name P_qty S_price Brand Date_of_purchase P_price Bill C_ID P_ID Date Qty Customer C_ID Vehicle_no C_name Vehicle_color Date_of_Entry Date_of_Exit Problem
  • 11.
    Employee E_ID E_nameSalary Address E_mail Ph No Date_of_Joining Age Service S_no C_ID Qty E_ID P_ID Total_Price Parts P_ID P_name P_qty S_price Brand Date_of_purchase P_price Bill C_ID P_ID Date Qty Customer C_ID Vehicle_no C_name Vehicle_color Date_of_Entry Date_of_Exit Problem
  • 17.
  • 18.
    QUERY create tableemployees(emp_id number(5) ,e_name varchar(20),email varchar(20),phno number(15),address varchar(30),salary number(10),date_of_join date) alter table employees add primary key(emp_id)
  • 19.
    TABLE FOR SERVICED create table serviced(s_no number(10),s_price number(10),qty number(4),p_id number(10),c_id number(10),primary key(s_no))
  • 20.
    TABLE FOR BILLS create table bills(b_no varchar(5),c_id number(10),parts_repaired varchar(20),parts_price number(10),primary key(b_no))
  • 21.
    TABLE FOR CUSTOMER create table customer(c_id number(10),c_name varchar(20),veh_no number(10),date_of_entry date,date_of_exit date,veh_color varchar(20),problem varchar(20),primary key(c_id))
  • 22.
    TABLE FOR PARTS create table parts(p_id varchar(10),p_name varchar(20),qty_received number(5),p_qty number(5),p_price number(5),comp_name varchar(20),date_of_purchase date) alter table parts add primary key(p_id)
  • 23.
    Normalisation E_ID E_nameSalary Address E_mail Ph No Date_of_Joining Age E_ID Ph No 1NF 22NFF 33NFF BCNF E_ID E_name Salary Address E_mail Date_of_Joinin g Age Employee E1 E2
  • 24.
    Service S_no C_IDQty E_ID P_ID Total_Price 1NF S1 S3 S_no E_ID S_NO C_ID Total_Price S2 2NF 3NF BCNF S_no P_ID Qty
  • 25.
    Parts P_ID P_nameP_qty S_price Brand Date_of_purchase P_price P1 1NF P2 2NF 3NF BCNF P_ID Date_of_purchase P_name P_qty P_ID Date_of_purchase Brand S_price P_price
  • 26.
    C_ID P_ID DateQty C_ID Vehicle_no C_name Vehicle_color Date_of_Entry Date_of_Exit Problem C_ID C_name Vehicle_number Vehicle_color Date_of_Entr C_ID C_name y Date_of_exi t C_ID Vehicle_n o Problem C_ID Vehicle_no Date_of_entr y Date_of_exit Bill Customer C1 C2 C1.1 C1.3 BCNF 1NF C1.2 Vehicle_no Vehicle_color 2NF 3NF BCNF