I had the follow instruction on Oracle SQL:
SELECT TO_DATE(FE_DAY || '/' || FE_MO || '/' || FE_YEAR, 'dd/mm/yyyy')
FROM TI_DATE
WHERE FE_DAY =15 BETWEEN TO_DATE('01/01/2011') AND TO_DATE('31/12/2012')
and effectively I get all the dates that contains the day 15
between that intervals
But I need other thing to do.
How can I show all dates that contain
FE_Day=15
FE_MO=02
FE_MO=05
FE_MO=07
BETWEEN FE_YEAR= 2011 and FE_YEAR=2012
from the
TI_DATE table
?
Thanks by your help.