Pregunta de entrevista de Zocdoc

Basic sql questions using aggregation, select etc