Pergunta de entrevista da empresa Walgreens

The question was how would you efficiently query a database that is denormalized?