twoplustwo
Registered User.
- Local time
- Today, 15:36
- Joined
- Oct 31, 2007
- Messages
- 507
Hi guys,
Potentially an easy one!
I have a select query as follows:
SettDate ForcastDate
02/07/08 31/07/08 + Timestamp
02/07/08 01/08/08 + Timestamp
02/07/08 01/08/08 + Timestamp
02/07/08 02/07/08 + Timestamp
As we can see from the sample, there are two records for the 1st August. I need to select the last forecast date rather than return two. The max function is not quite working correctly.
Thanks for any help offered.
Potentially an easy one!
I have a select query as follows:
SettDate ForcastDate
02/07/08 31/07/08 + Timestamp
02/07/08 01/08/08 + Timestamp
02/07/08 01/08/08 + Timestamp
02/07/08 02/07/08 + Timestamp
As we can see from the sample, there are two records for the 1st August. I need to select the last forecast date rather than return two. The max function is not quite working correctly.
Thanks for any help offered.