CREATE TABLE Subjects (subject_name VARCHAR2, subject_id VARCHAR2)
CREATE TABLE Courses (subject_id VARCHAR2)

Find the subject ID, subject name, and the corresponding number of available courses for each subject.
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
SELECT "T1"."subject_id", "T2"."subject_name", COUNT(*) FROM "Courses" "T1" JOIN "Subjects" "T2" ON "T1"."subject_id" = "T2"."subject_id" GROUP BY "T1"."subject_id"