Postgresql – How can I filter data through a join table?
There are tables: groups, targets and join table groups_targets. Groups have targets, for example: Group #1 has a gender target, an age target, and a city target Group #2 has a gender target Group #3 has a city and gender…