I have a Employee table with columns
ename,eid,salary,deptno. How to retrieve sum of salary for
each deptno?
Answer Posted / madhusudan darshannkar
SELECT COUNT(EID) AS EMPLOYEE,DEPTNON,SUM(SALARY) FROM
EMPLOYEE GROUP BY DEPTNO
| Is This Answer Correct ? | 4 Yes | 12 No |
Post New Answer View All Answers
explain normalization concept? : Sql dba
What are string functions in sql?
How can we store rows in PL/SQL using array?
What is the location of pre_defined_functions.
what is 'mysqlimport'? : Sql dba
What is a composite primary key?
What is the difference between subquery and correlated query?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What are the query optimization techniques?
What is sql scripting?
What is asqueryable?
Enlist the advantages of sql.
What is flag in sql?
Why do we need sharding?
What are variables in pl sql?