Datahero Interview Question

SQL joins question