I have a Employee table with columns
ename,eid,salary,deptno. How to retrieve sum of salary for
each deptno?
Answer Posted / lova raju allumalla
instead of deptno the result will give u in department name
select sum(sal),dname from emp e,dept d where
e.deptno=d.deptno group by dname
/
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is a ddl command?
How do I save a sql query?
What is compilation error in pl sql?
What schema means?
Does user triggers have entry for trigger with compilation errors?
What is vector point function?
What can I use instead of union in sql?
What is pl sql commands?
What is db journal file?
what is a scheduled jobs or what is a scheduled tasks? : Sql dba
What are stuff and replace function?
How long will it take to learn pl sql?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
Is record in oracle pl sql?
What is set transaction?