Uber Interview Question

sql easy-med and business context