Is it possible to make an "autogap" for a daterange?

I would like to send a query and depending on the daterange, the gap should be
1 Year
1 Month
1 Day
depending on the date range of the results

My only possibility i see at the moment ist to make a query to get first and last date and send the query a second time ... but i would like to get it all in one query.

Some ideas on it?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to