Pregunta de entrevista de Swiggy

Question based on join ,aggregate function