I know the first select from query is the left table, but I am still confused when to use right and left join:
ex:
select chann.name from investments inv
right join channels chann on chann.id = inv.channel_id;
select chann.name from channels chann
left join investments inv on chann.id = inv.channel_id;
They both return the same result, why in first query is used right and why left on second one, Does this have to do with Foreign Key something?
Thanks