split delete query