|
I am trying to write a SELECT statement to retrieve records from emp table on Scott user. But not getting answer. The question is : display empno, ename, sal, max_sal_in_his_dept, sal+12% on existing salary of those employes whose salary is below 1/3rd of maximum salary in their respective departments. i tried group by with where clause, didnt work, tried group by with having but not working, Plz help
(comments are locked)
|
|
Here is my shot at that, but I am not sure of it. I could have test it if some test data would be there.
(comments are locked)
|


Can you please provide some test data for this?