Database: e_learning
Question: What are the subject ID, subject name, and the number of available courses for each subject?
SQL:
SELECT T1.subject_id ,  T2.subject_name ,  COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id GROUP BY T1.subject_id