The problem
I have to make a SQL (postgres) query, to show the names of players, whose teams participate in the "Primeira Liga" and the "Ta?a de Portugal". Also, include the names of players of "Académica" club and all of teams founded in the 1940s. Image of Database design
I'm really stuck and can't figure out, how to connect all tables. Does anyone know how to solve the problem?
Thanks in advance.
Updated (10/01/2021): ** I had to change the names to match my DB, so everyone can understand.
question from:https://stackoverflow.com/questions/65649237/sql-how-can-i-join-different-tables-from-competition-of-football