I don't know much about MySQL but I have to do sth. with this nice thing. :) I have 1 Table with 2 ID Fields in it (ID and REFID). I only want to select the ID's which are not between other ID to REFID.
Row 1: ID = 1 and REFID = 15
Row 2: ID = 17 and REFID = 20
Row 3: ID = 19 and REFID = 25
I only want Row 1 and 2 in my result. because Row 3 is crossing Row 2. Sorry for my bad explanation, I hope you know what I want to know. :)