Group4 GroupbyOrderbyQuery

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

RDBMS ASSIGNMENT (GROUP - 4)

( Group By/ Order By )


Group 4 – Safuvan Sajid ( 456 )
Prasanna Lavhate ( 404 )
Kunal Murjani ( 425 )
Aarti Arora ( 454 )
Lakshay Kadian ( 450 )
________________________________________________________________
Q1 – Find out average salary per shift of the doctor’s using GROUP BY.
Q2 – Find out the patient name with age in the descending order using ORDER BY .
Q3 – Find out the Doctor Name with the Salaries in the descending order using ORDER BY.
Q4 – Find out the Count of Disease in ascending order by Grouping disease .
Q5- Find out the Date of Admission of the Patients with the Patient’s Name in the
ascending order.
Q6 – Find out the count of Patient Names by grouping Departments ID with patient name
in the ascending order.
Q7 – Find out the No. of Male and Females patients using group by function.
Q8 – Find out the number of diseases that are being treated in the departments and show
department in the ascending order.
Q9 - ( I ) find out the avg age of the patients in whole numer . ( ii )Find out the name of
the patients whose age is greater than the average age using group by function.
Q10 – Find the number of patients getting by treated by doctors.
___________________________________________________________________________

You might also like