Postgresql – Postgres Check if One to many relationship has all values in another relationship
I have a table which contains all the Reports report_id | Name ---------------+------------- 1 | Sales Q3 2 | Sales Q2 I have a relation table which contains one to many relations about the report with dept report_id | dept_id…