Question d’entretien chez Shell

I was asked about to write a complex SQL statement