Pregunta de entrevista de Next Insurance

sql question like leetcode easy