Delete query.Z