How to display those employee whose 10% of salary is equal to the year of joining?
SELECT ename FROM emp WHERE TO_CHAR(hiredate,’YY’)=sal*0.1;