I need to make a database for school, about an Hotel. Ive got two tabels. Reservations and Clients. "Reservation" has got dates before and after this date (2000,2001 and 2002).
Now I need to make a querie, which tells me the number of times a client visited/or gonna visit my hotel. I want these two numbers (visited and gonna visit/reservations) to be seperated. But most of all I want them to adapt with the date. Automaticly off course.
And is there a way to do the same with the tabels. To split the reservation into past and future reservaation, adapting to the present date? Please help.
O yeah. BTW, Im not sure if this is the place for a newbie like me to post my threads. So coorect me if Im wrong.
Thanks
Now I need to make a querie, which tells me the number of times a client visited/or gonna visit my hotel. I want these two numbers (visited and gonna visit/reservations) to be seperated. But most of all I want them to adapt with the date. Automaticly off course.
And is there a way to do the same with the tabels. To split the reservation into past and future reservaation, adapting to the present date? Please help.
O yeah. BTW, Im not sure if this is the place for a newbie like me to post my threads. So coorect me if Im wrong.
Thanks