How to display the names of all the employees who are working as clerks and drawing a salary more than 3000?

Oracle Apps Interview QuestionsCategory: SQLHow to display the names of all the employees who are working as clerks and drawing a salary more than 3000?
Questions Master asked 9 years ago

How to display the names of all the employees who are working as clerks and drawing a salary more than 3000?

1 Answers
Shailender Thallam Staff answered 9 years ago

SELECT ename FROM emp WHERE job=’CLERK’ AND 12*(sal+NVL(comm,0))>3000;