Postgresql – Select team that consists of members that belong to the same, single department
I'm trying to make an sql request that turned out surprisingly difficult to me (or maybe this is just the end of the day, sigh). I have 3 tables: Team: id 1 2 3 Team member table: id team_id 1…