Question d’entretien chez 1plusX

How would you create an SQL query for this...