Pergunta de entrevista da empresa Amino

How can we query data efficiently from large data set?