You are on page 1of 2

Hospital Management System (HMS)

Hospital Management System (HMS)

Queries
1. Write a query to display the hospital name which has branches in all location.
2. Write a query to display the rating of doctor who having rating as POSITIVE and NEGATIVE.
3. Write a query to displays the doctor whose has maximum years of experience in the
hospital(hospital name=YASODHA);
4. Write a query to display unique doctor_name who has the following credentials
year=2012,month=Apr,location=Hyderabad,salary=65000 and location.
5. Select the city where maximum number of doctors staying.
6. Display the total salary of the doctors ,name of the hospital where the hospital has more than
2doctors.
7.display total_no_of _bed_count & average no of bed_count.
8. Display the nurses who are in department Neurology,Ent,cardiology;
9.Complex query using group by, having, order by.
10. select the employee who is eligible for casual leave(more than one leave).
11. Select the Nurse who is having more than 15 casual leave.
12. List the dept which has no of staff and that dept start with O.

You might also like