Domanda di colloquio di Microsoft

"How would you optimize a database query for large datasets?