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

How to do replication of firebird databases?

0 Answers  


What are the different types of keys in database?

0 Answers  


What is n tier architecture in dbms?

0 Answers  


What are five main functions of a database administrator?

0 Answers  


Why does reading require write privileges on database file?

0 Answers  






Is it possible to Enable or Disable a Database trigger ?

1 Answers  


What are procedures in database?

0 Answers  


Where is data stored in a database?

0 Answers  


What is alternate key?

0 Answers  


Can the SNAPSHOTS be refreshed automatically ?

1 Answers  


How data are stored in database?

0 Answers  


How do you create a blank database?

0 Answers  


Categories