Add LastQuery.

LastQuery can save data and time.