range
Range difference
Subtracts the second range; a result split into two nonempty pieces requires multirange subtraction.
Formal Syntax & Structure
sql syntaxsql
range1 - range2Working Example
Example Snippetsql
SELECT int4range(1,8) - int4range(5,9);