Domanda di colloquio di Uber

SQL questions that were tricky to solve, although not programmatically difficult.