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 pl sql block structure?
What are sql objects?
How long will it take to learn pl sql?
What is the difference between delete, truncate and drop command?
What are the different types of constraints?
Can a trigger call a stored procedure?
What is pragma in sql?
Where can I learn sql for free?
Explain the insert into statements in sql?
what is csv? : Sql dba
Why schema is used in sql?
Define the select into statement.
differentiate between float and double. : Sql dba
what is online transaction processing (oltp)? : Sql dba
How do I truncate a sql log file?