store query