Having trouble making a SQL query for a small booking system, i have a table containing two entries which holds two different dates and a number.
Nr DateF
SELECT * FROM yourTable WHERE DateFrom > @rangeEnd OR DateTo < @rangeBegin
DEMO