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
How do I create a sql database?
How do I run a query in pl sql developer?
discuss about myisam index statistics collection. : Sql dba
How do I view tables in sql developer?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
What are the sql commands?
Explain the difference between 'between' & 'and' operators in sql
How do you modify a table in sql?
What is rownum and rowid?
What is a heap in sql?
Explain what is a database?
What is latest version of sql?
How do I view an execution plan in sql?
How do you write a subquery?
explain the delete statements in sql