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 do I view a view in sql?
What is mutating table error?
What is the use of desc in sql?
What is scalar data type in pl sql?
Is there any restriction on the use of union in embedded sql?
Explain the components of sql?
What are the types of variables use in pl sql?
Can you load data into multiple tables at once? : aql loader
what is rollback? : Sql dba
How do I view a sql database?
What is not null in sql?
What is left join in sql?
What is foreign key sql?
What is an emotional trigger?
what is not null constraint? : Sql dba