Question d’entretien chez Cognizant

i got a programming question and a sql joins