Hi,
I am having problems making a query that will return the rows for a specified date AND the preceding N number of days (not necessarily just date - N days).
I.e.
table date column consists of:
Date Column
...
Aug 5,2002
Aug 7,2002
Aug 8,2002
Aug 10,2002
Aug 12,2002
...
If i want to query Aug, 11, 2002 and the previous 2 days before it the select statement should return the rows:
Aug 10, 2002
Aug 8, 2002
Aug 7, 2002
How would i accomplish this ?? TIA.
I am having problems making a query that will return the rows for a specified date AND the preceding N number of days (not necessarily just date - N days).
I.e.
table date column consists of:
Date Column
...
Aug 5,2002
Aug 7,2002
Aug 8,2002
Aug 10,2002
Aug 12,2002
...
If i want to query Aug, 11, 2002 and the previous 2 days before it the select statement should return the rows:
Aug 10, 2002
Aug 8, 2002
Aug 7, 2002
How would i accomplish this ?? TIA.