I have a Employee table with columns
ename,eid,salary,deptno. How to retrieve sum of salary for
each deptno?
Answer Posted / radheshyam mali
Select sum(salary) from Employee group by deptno
| Is This Answer Correct ? | 6 Yes | 10 No |
Post New Answer View All Answers
What is delimiter sql?
What is the difference between database trigger and stored procedure?
How do you declare a constant?
explain primary keys and auto increment fields in mysql : sql dba
How do I view output in sql developer?
how tsql statements can be written and submitted to the database engine? : Transact sql
What is a temporal table?
What is Histogram?
Explain the update statement in sql
What is nosql db?
How many clustered indexes can you have?
What is a natural join sql?
What are sql injection vulnerabilities?
Explain the advantages and disadvantages of stored procedure?
When sql appeared?