Académique Documents
Professionnel Documents
Culture Documents
CHAPTER 1
INTRODUCTION
Gym Membership Management is a project that helps to keep track of gym clients and
employees based on their details. This project is designed to help the manager/owner
The “Gym Membership Management” project has been developed to override the
complications with the existing manual system. It is a complete gym facility program
which looks after all the members, memberships and activities. It is designed for gym
and health clubs. It eliminates the errors that might occur when the records are
The project uses a MySQL database to store all the related information such as the
clients’ personal details, plan, membership, fitness and class details etc. An intelligent
and simple to-utilize front end, created utilizing HTML, guarantees an easy to
The project also provides total information about machinery/equipment’s and data of
vital arranging and guarantees that the organization is outfitted with precise and
1
Gym Membership Management
CHAPTER 2
PROBLEM STATEMENT
details of all the employees, members, memberships and classes offered. Through the
HTML front end PHP code is used to display the output for queries. Other objectives:
in an effective manner.
Employee has empid, name, contact, DoJ, salary, address, deptid and sid.
Member has memid, name, contact, classid and mid.
Graduation has Grad_ID Grad_Name, Duration.
Dept has deptid, dname and number.
Membership has mid, name and validity.
Class has classid, name, empid, cost and duration.
Equipment has eqid, classid, name and date_of_purchase.
Classno has slno, class id, hours_per_week and total_hours.
Gym offers many classes.
A member can sign up for many classes.
A trainer takes only a particular class.
A class can use a number of equipment.
2
Gym Membership Management
2.3 REQUIREMENT SPECIFICATION
RAM - 1 GB
Hard Disk - 3 GB
Server -XAMPP
Editor -Notepad ++
3
Gym Membership Management
CHAPTER 3
DATABASE DESIGN
3.1 BRIEF DESCRIPTION OF RELATIONAL MODEL
“The data and their relationships will be represented by a set of inter-related tables in a
relational model. Every table will consist of a column and a row where a column refers to
the attribute of an entity and a row refers to the records.”
3.2 ER DIAGRAM
4
Gym Membership Management
5
Gym Membership Management
CHAPTER 4
IMPLEMENTATION
6
Gym Membership Management
select Name from student where course_id in (select course_id from course where
course_code in(‘1001’,’1002’));
select b_name from bank where bank_id in(select bank_id from student);
select bank_name from bank where bank_id in(select bank_id from student);
4.6 VIEWS
4.7 TRIGGERS
delimiter //
CREATE TRIGGER emp_d1
AFTER INSERT ON employee
FOR EACH ROW
begin
update department SET no_of_emp=no_of_emp+1
7
Gym Membership Management
where new.deptid=department.deptid;
end; //
delimiter ;
delimiter //
CREATE TRIGGER emp_delete
AFTER DELETE ON employee
FOR EACH ROW
begin
update department SET no_of_emp=no_of_emp-1
where deptid=department.deptid;
end; //
delimiter ;
8
Gym Membership Management
CHAPTER 5
SAMPLE OUTPUT
Fig 5.1.1
Fig 5.1.2
Query 3: select course_name from course where course_id in (select course_id from
course_offered where college_id=(select college_id from college where
college_name=’NHCE’));
Fig 5.1.3
9
Gym Membership Management
5.2 Using HTML
Fig 5.2.1
Fig 5.2.2
Query 2: delete from student where Name=’ddd’;
Fig 5.2.3
10
Gym Membership Management
CHAPTER 6
CONCLUSION
This project aims at reducing the burden on the examination body to maintain records
and allocate students manually. It is simple and easy to use, allowing the user to enter
his/her details, view details of various colleges and the courses they offer and see the
seat allotment on a user friendly and error free environment. User data is updated and
checked for authenticity using appropriate triggers. The project ensures that the
registered students are allocated into colleges as per their average score and the degrees
they wish to pursue and prevents any sort of anomaly or ambiguity, thus making it
BIBLIOGRAPHY
11
Gym Membership Management
“www.scribd.com”
“Fundamentals of Database Systems by Ramez Elmasri and Shamkant B
Navathe”
“Database Management Systems 3rd Edition by Johannes Geharke and Raghu
Ramakrishnan”
12