Add delete by query