oracle nvl mysql ifnull

 select IFNULL(min(t.calendar_date),#{WORKING_DATE}) from work_calendar t  where t.workday_status='0' and t.calendar_date > #{WORKING_DATE}

猜你喜欢

转载自dongxylove.iteye.com/blog/2265769