Division by 0 does not belong to a selected column of the outermost QUERY specification.
Check whether this error can be prevented by suitable specifications (predicates).