Dept wise avrage salary

Answers were Sorted based on User's Feedback



Dept wise avrage salary..

Answer / suraj

select deptno,trunc(avg(sal))as avg from emp group by deptno;

Is This Answer Correct ?    6 Yes 0 No

Dept wise avrage salary..

Answer / naresh

select avg(sal) from emp group by deptno;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Database Management Interview Questions

What is database partitioning?

0 Answers  


Mention the types of join?

0 Answers  


describe and contrast a trigger and a procedure.

0 Answers  


what is the difference between DBMS and RDBMS??

76 Answers   Aon Hewitt, BlackRock, Infosys, ISB, Jawood, TCS,


Describe the purposes and advantages stored procedure?

0 Answers  






Explain by listing some major advantages of dbms.

0 Answers  


What do you understand by query optimization?

0 Answers  


How to determine who is and change the owner of database?

0 Answers  


Describe the differences between vertical and horizontal portioning.

0 Answers  


what are database files, control files and log files. How many of these files should a database have at least? Why?

0 Answers  


What are foreign keys in database?

0 Answers  


Where the data file for system Tablespace is located? What is its name, initial size and maxsize?

1 Answers  


Categories