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