Question d’entretien chez WD

Gave me SQL queries to solve