What are the ids of all students who have attended at least one course?
SELECT student_id FROM student_course_attendance
ids of all students who have attended at least one course refers to DISTINCT(student_id);