各位大神,求解,员工表(emp),有一个birthday字段,我要查询当前日期到n天之后这段时间过生日的员工,有什么好的SQL.
select * from emp where to_char(birthday, ''MMDD') >= to_char(sysdate, 'MMDD') and to_char(birthday, ''MMDD') <= to_char(sysdate + N, 'MMDD')