delete query for sqlrequest