finish query all operation in data base module