Domanda di colloquio di Smoothstack

Asked how to solve a database query question using sql