Amazon interview question

Some sql questions left join right join