motified DBHelper, add a query to contain query task,to avoid database
access confilict.