i would be greatful for any help
this is what im doing:-
a web site for a hotel
when a new guest goes to book a room they enter the arrive date and depart date, i need to do an sql query that will pull back the rooms available for the dates entered and to exclude rooms booked between the dates entered.
would anyone know how i would go about this ???
for this i have a table called "room_info" with the following cols
room_id (primary key)
room name
description
cost id
and a table called "bookings" with the following cols
booking_id (primary key)
room_id
arrive_date
depart_date
duration
thank u in advance
john.