내가 입력한 코드
select ename, sal, deptno, hiredate
from emp
where '81/04/02' < hiredate < '82/12/09';

입사일 조건을 설정할 때 '81/04/02' < hiredate < '82/12/09' 라고 넣으면 조건이 실행되지 않는다
작성할 때 and로 이어주기!
'81/04/02' < hiredate and hiredate< '82/12/09'
🛠 해결
select ename, sal, deptno, hiredate
from emp
where '81/04/02' < hiredate and hiredate < '82/12/09';

Share article