use query for _mysql