Domanda di colloquio di CPR Vision Management

SQL question to join 2 tables and perform some computations.