SUMMER CAMP TASK
You have joined a development team in an organization that organizes summer youth
camps for children & teenagers. A youth summer camp is a supervised program
designed for children and teenagers during the summer months when school is not in
session. These camps offer a variety of activities that aim to educate, entertain, and
engage young people in a safe and structured environment. The duration of these
camps can range from a few days to several weeks.
Task 1: Your job is to create a database model for this situation. The model must
contain three tables. a) The first two tables will contain the columns that are in the
orange bubble. Each column can exist in exactly one table! b) The third table will
contain columns of your choice, but we must be able to tell how many times a
teenager Lakshmi visited the camp in last 3 years.
p T i t le La
End
st N
Nam
e
Ca m Cap am
e
Pe
acit
Date
t y
rs
Firs
on
Price
al
il
G
Ema
Ph
Mid
en
on
e
Dat
dle
e
Nam
e rt
d
Sta
Date of B
er
irth
Task 2: Create a script that will populate one of your tables with a random 5000
people. Out of these 5000, 65% should be girls and 35% should be boys. Out of
these 5000, 18% should be between 7 and 12 years old, 27% should be 13 to14,
20% should be 15-17 and the rest could be any age up to 19 years old.
Task 3: Write a query that can 55% 46%
54% 64% 64%
45%
output data in a format so that 36% 36%
following chart can be drawn. The Gen X Millenials Gen Z Gen Alpha
number in the chart are indicative
█ Male █ Female
Your final solution should be submitted as one SQL script. All your code should be in the
.sql file. Where necessary, the script should use declared tables, there is no need to create
permanent tables nor physical database.