Domanda di colloquio di Epsilon

SQL, DBMS, logic building, one coding question.