CREATE TABLE students (student_id VARCHAR)
CREATE TABLE student_course_attendance (student_id VARCHAR)

List the id of students who never attends courses?
SELECT student_id FROM students WHERE NOT student_id IN (SELECT student_id FROM student_course_attendance)
SELECT "student_id" FROM "students" WHERE NOT "student_id" IN (SELECT "student_id" FROM "student_course_attendance")