range

upper(range)

Returns the upper boundary value, even if excluded; empty and upper-unbounded ranges return NULL.

Formal Syntax & Structure

sql syntaxsql
upper(range)

Working Example

Example Snippetsql
SELECT upper(int4range(4,8));
SQL Reference