PostgreSQL - Views and Materialized Views
You want to create a view
employee_summary that shows each department's name and the count of employees. The tables are departments(id, name) and employees(id, department_id). Which is the correct statement?