You are on page 1of 1

State Government wants to maintain record of all the schools in the state as name, address, city of

school, name and mobile numbers of staff working in that school, names, standard and birthdates of
students studying in that school. Principals name, mobile, email and duration as principal of the school.
One person can serve as principal for maximum 3 years and minimum it can be one year.

Design database for storing above information and solve following queries.

1. List name of schools, count of staff and students of that school.


2. List name of schools, their principals, principals mobile and email.
3. List names of principals of a schools in last 10 years, given name of school.
4. List names of schools having student count more than 5 in given city.
5. List names of schools, name of principal and count of principals served until now and having
principal served count more than 3.

You might also like