Alban Hertroys wrote:
SELECT * FROM table WHERE (D1, D2) INTERSECTS (D3, D4);

Ahem... Let's call that "end of the day dementia" or something... Of course it's called OVERLAPS, not INTERSECTS...


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to