S
Scarlet via AccessMonster.com
Hello Everyone!
I have a bit of a perplexing Query that I am trying to put together,
hopefully you may be able to shed some light on it!
Ok here is the scenerio......I have a mock hotel database, the four fields
are CUSTID, TRANSACTIONDATE, ARRIVAL, and YEARUSAGE. What I am trying to
calculate is all customers where the transaction date for them to come back
to the hotel again is within 7 days of the present years arrival date. For
example, a customer checks in on Jan 1st 2006, I want to find all the people
where transaction date falls within 7 days of that check in date for a return
in 2007.
Any additonal info or clarification from me will be happily provided, thanks!!
!
I have a bit of a perplexing Query that I am trying to put together,
hopefully you may be able to shed some light on it!
Ok here is the scenerio......I have a mock hotel database, the four fields
are CUSTID, TRANSACTIONDATE, ARRIVAL, and YEARUSAGE. What I am trying to
calculate is all customers where the transaction date for them to come back
to the hotel again is within 7 days of the present years arrival date. For
example, a customer checks in on Jan 1st 2006, I want to find all the people
where transaction date falls within 7 days of that check in date for a return
in 2007.
Any additonal info or clarification from me will be happily provided, thanks!!
!