modify sql for queryplatform and querygame and querygameserv