select * from emp where hiredate > '1982-1-1'; -- mysql
select * from emp where hiredate > to_date('1982-1-1', 'yyyy-mm-dd'); -- oracle
select * from emp where hiredate > '1982-1-1'; -- mysql
select * from emp where hiredate > to_date('1982-1-1', 'yyyy-mm-dd'); -- oracle