Pregunta de entrevista de BUSINESSNEXT

sql questions , gives you query for writing