how can i select last 12 month name using current time. without using any table
if current month is October then i want the result as
month year
oct 2011
nov 2011
dec 2011
jan 2012
feb 2012
mar 2012
apr 2012
may 2012
jun 2012
jul 2012
aug 2012
sep 2012
oct 2012
i don’t have any table in Database for this.
1 Answer