Good day,
I have 2 sql tables.
Plaatsen
- plid
- x
- y
and
Reservations
- id
- plid
- startdate
- enddate
plid in reservations has a foreign key to Plaatsen.plid
What i want is :
I got 1 date (for example 2013-12-09) how can i find all plid's that are not in the table Reservations on that variabel date? so it is not between startdate and enddate
Is this possible? can anyone help ?