select next_day('2025/06/03', '월요일')
from dual;
💡
next_day(특정날짜, '요일')
: 특정날짜 뒤에 돌아오는 요일의 날짜 출력
select next_day(sysdate, '월요일')
from dual;
select next_day(sysdate+(interval '100' month), '월요일')
from dual;
-- 또는
select next_day(add_months(sysdate, 100), '월요일')
from dual;
select ename, sal, job
from emp
where job not in('SALESMAN', 'ANALYST')
order by ename;