posted 16 years ago
Get the list of students that have secured good grades
SELECT s.name from student s WHERE s.grade IN ('A','B','C')
Get the list of students that have secured good grades and are not in the badstudents list
SELECT s.name from student s WHERE NOT EXISTS ( SELECT 1 FROM badstudents b where b.studentid = s.studentid) AND s.grade IN ('A','B','C')
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)