Uber Interview Question

sql questions on joins and there results