range

Range intersection

Returns the values common to both ranges; disjoint ranges yield an empty range.

Formal Syntax & Structure

sql syntaxsql
range1 * range2

Working Example

Example Snippetsql
SELECT int4range(1,5) * int4range(3,8);
SQL Reference