Pregunta de entrevista de Amino

How can we query data efficiently from large data set?