Database: e_learning
Question: List the subject ID, name of subject and the number of courses available for each subject in ascending order of the course counts.
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 ORDER BY COUNT(*) ASC