Task: Text to Code
Input (English): SQL: SELECT course_name , course_id FROM Courses GROUP BY course_id HAVING Count ( * ) < = 2
Feedback: In step 1 exchange courses with sections .
Output (English): 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