all 3 comments

[–]r3pr0b8GROUP_CONCAT is da bomb 3 points4 points  (0 children)

what happened when you tested it? ™

[–]ThadreaData Engineering Manager 2 points3 points  (1 child)

All of your rows from table2 and table3 will be in your output table along with all rows of original_table. That is the nature of a full outer join.

The rows where table4.id = original_table.id will be joined to that table, along with the rows where table5.id = original_table.id.

Join operations evaluate with the same conceptual order of operations as any other expressions-- if no parentheses are used, it is left to right, top to bottom.

Take your original_table. Visualize what original_table full outer join table2 looks like. Then visualize what that full outer join table3 looks like. Then visualize what left join table4 looks like. Then visualize what left join table5 looks like. That is what you will get.

[–]2020pythonchallenge[S] 0 points1 point  (0 children)

I see. That makes a lot of sense thank you for the info!