Counting total of matching rows without filtering them with join table – Postgresql
I have the following structure: Training Type Contains multiple sessions Each session can have multiple slots A slot has a start date. (date column) How to compute for each Training Type the total of sessions whose all the slots are…