Task: Text to Code
Input (English): Step 1: For each row in Courses table, find the corresponding rows in Student_Course_Registrations table.
Step 2: for each value of Student_Course_Registrations's course_id in the results of step 1, find the number of rows along with Courses's course_id and course_name
Output (English): SELECT T1.course_id , T1.course_name , Count ( * ) FROM Courses AS T1 JOIN Student_Course_Registrations AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id