HomeRelational Database and SQL (Preeti Arora) Write a query to display the difference of highest and lowest salary of each department having 0 Comments Facebook Twitter Q. Write a query to display the difference of highest and lowest salary of each department having maximum salary > 4000.Answer =SELECT MAX (sal) - MIN (sal) "Difference" FROM emplGROUP BY deptnoHAVING MAX (sal) > 40003;
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )