I have 4 tables I need to join in a query. I want all results from table 1, and then any want to join any results from table 1,2,3. I'm not sure how to write this query.
Here is my best guess:
SELECT
*
FROM
t1
INNER JOIN
(
t2 on t2.id = t1.id
FULL OUTER JOIN t3 on t3.id = t1.id
FULL OUTER JOIN t4 on t4.id = t1.id
)
I did find this post that explains the different types of joins. From this I believe I want either a left or right join for table1, but then I am confused about the nested statement.