query to retrive the employees whose sal is greater than avg
sal
Answer Posted / musthafa
SELECT EMP_NO,EMP_SAL
FROM EMP_TAB
WHERE EMP_NO=&EMP_NUM
GROUP BY EMP_NO
HAVING EMP_SAL > AVG(EMP_SAL)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the different types of functions in sql?
Is sql harder than python?
Is it possible to create startup or shutdown trigger for on-schema?
how to run 'mysql' commands from a batch file? : Sql dba
What are the operators in sql?
Is sql easier than java?
Why do we use procedures?
How do I view a table in sql?
What is form and report?
what is the use of double ampersand (&&) in sql queries?
What are three advantages to using sql?
What is an exception in PL/SQL? What are the two types of exceptions?
How to run sql commands in sql*plus?
How do I install microsoft sql?
What is dense_rank?