18. The non-transitory computer-readable storage medium of claim 14 , wherein: the HAVING clause specifies that an ALL function be applied to the subquery; the second inline view includes a MAX function that references the algebraic aggregate window function; and the predicate in the outer query references an output of the MAX function.
18. The non-transitory computer-readable storage medium of claim 14 , wherein: the HAVING clause specifies that an ALL function be applied to the subquery; the second inline view includes a MAX function that references the algebraic aggregate window function; and the predicate in the outer query references an output of the MAX function. 20. The non-transitory computer-readable storage medium of claim 18 , wherein: the HAVING clause specifies that an expression be less than the ALL function; and the predicate in the outer query specifies that the expression be less than a value that is based on the output of the MAX function.