Question d’entretien chez KPMG

Asked me to write SQL query for multiple scenarios.