You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
USE University; SELECT department_id, STRING_AGG(CASE WHEN is_active = 'yes' THEN name ELSE NULL END, ', ') AS active_courses FROM Course GROUP BY department_id;