5000 GC
5000 GC
and equipment rentals. The system also tracks gym attendance, manages
billing, maintains
The gym consists of multiple facilities (e.g., Weight Room, Cardio Area,
Swimming Pool,
Yoga Studio). Each facility has equipment (e.g., Treadmills, Free Weights,
Exercise Bikes),
gym offers different types of fitness classes (e.g., Yoga, Pilates, Spinning),
each managed by
an instructor.
staff member has a Staff ID, Name, Phone Number, Email, Position, and
Salary. Trainers
specialize in certain areas (e.g., Weight Training, Cardio, Yoga) and provide
personal training
sessions for clients. Instructors lead fitness classes and may also conduct
workshops.
The gym offers memberships, and every member has a Membership ID,
Start Date, End Date,
Type (e.g., Monthly, Yearly), and Status (Active, Inactive). Members can
book fitness classes
and personal training sessions. Each member has basic information such
as Name, Date of
The gym offers multiple membership plans (e.g., Silver, Gold, Platinum),
with varying benefits
tracks when members check in and check out of the gym. Each check-in is
linked to a specific
The gym offers a variety of fitness classes, each with a Class ID, Name,
Type (e.g., Yoga,
tracks which members are enrolled in each class. Members can book
classes online or through
the gym app, and each booking has a status (Confirmed, Canceled,
Waitlisted).
Members can book personal training sessions with specific trainers. Each
session has a Session
create workout plans for members during training sessions, which include
details like
Exercises, Sets, Reps, and Weight. Members can review their past workout
plans and track
their progress.
(e.g., Weight, BMI, Body Fat Percentage) and Fitness Goals. Health
assessments are done
periodically, and results are stored in the system. Members can set fitness
goals (e.g., Lose
Weight, Build Muscle, Improve Endurance), and the system tracks
progress against these goals.
like equipment rentals. Each bill includes the Total Amount, Date, Payment
Method (Credit
Card, Debit, Cash, Direct Debit), and Status (Paid, Unpaid). Invoices are
generated for each payment, with a breakdown of the services. In case of
membership renewal, a new bill is
Q4. Create tables with DDL scripts and populate table’s data
1. Get a list of all fitness classes offered at the gym, along with
their schedules and the instructor names.
Canceled, etc.).
4. List the top 5 trainers who have conducted the most personal
training sessions.
5. List all members whose membership has expired but who have
attended the gym in the past 30
days.
6. Find the members who have the most active workout plans
with at least three different exercises