Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ALUM
RTD
FAC
4. Find out the details of retired staff who draw a pension greater than average salary of
faculty in their respective department
ANS:
Select * from retired where pension > all (select avg(salary) from faculty_mstr group by
dept) ;
5. Find the details of eldest alumni who were faculties and now retired.
ANS:
Select * from alumni where s_name in (select fac_name from faculty_mstr ) and s_name
in(select r_name from retired);