implement sql statement of get,post,delete