$ 0 0 sel day_of_year from sys_calendar.calendar where calendar_date=date it displays no of days previous date means (2011/05/03) how to write query