I have a Employee table with columns
ename,eid,salary,deptno. How to retrieve sum of salary for
each deptno?
Answer Posted / kavithanedigunta
select deptno,sum(sal) from employee
group by deptno;
Is This Answer Correct ? | 72 Yes | 4 No |
Post New Answer View All Answers
How are functions and procedures called in PL/SQL?
What is the use of partition by in sql?
explain advantages of innodb over myisam. : Sql dba
Is and as keyword in pl sql?
Explain clause in sql?
What is trigger types in sql?
Is nosql faster than sql?
Can we rollback delete command?
What is native sql query?
what is collation? : Sql dba
How to call a javascript function from pl sql?
what are date and time functions in mysql? : Sql dba
define sql update statement ? : Sql dba
What is compilation error in pl sql?
What is secondary key?