I have a query. I wish to select records that are between the current date and 1 month prior to the current date. How do I achieve this?
select col1, col2
from table
where date between currentdate and 1 month before current date
Any help will be appreciated.
[sig][/sig]
select col1, col2
from table
where date between currentdate and 1 month before current date
Any help will be appreciated.
[sig][/sig]