What are all info of students who registered courses but not attended courses?
create table student_course_attendance (student_id varchar, PRIMARY KEY (student_id)); create table student_course_registrations (student_id varchar, PRIMARY KEY (student_id))
select * from student_course_registrations where not student_id in (select student_id from student_course_attendance)