Database: student_transcripts_tracking
Question: What are the names and ids of every course with less than 2 sections?
SQL:
SELECT T1.course_name ,  T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_id HAVING count(*)  <=  2