Question d’entretien chez Lyft

SQL question - walk through thought process, and write out query