DBA Lab Ass 2
DBA Lab Ass 2
Sap: 70078198
Sec: D
TABLE:-
1.Output the name of student along their address with age less the 24.
SELECT MIN(sAge)
FROM student;
3.Output the name of student, address and age belongs to ‘CS’ department.
4.Output the name of each faculty member in DESC and total number of
student studying under their guidance.
SELECT department.departName
FROM department, student
WHERE department.departID=student.departID
GROUP BY(student.departID)
HAVING COUNT(student.sID)>=2;