3i Infotech interview question

Difference between pre query and post query