Dept wise avrage salary

Answer Posted / suraj

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

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between hashed file stage and sequential file stage in relates to datastage server?

734


How do you set a primary key?

571


What is procedure in dbms?

549


What are cursors give different types of cursors?

555


What are the three levels of data abstraction?

643






Can you drop all the columns of a table ?

613


What is database example?

539


What is a clause in terms of sql?

674


Do models have limitations?

581


How do you performance tune a database?

553


What are the integrity rules in dbms?

658


What is normal form in dbms?

554


How do you handle your own transaction?

583


Is google scholar a database?

584


How is rdbms different from dbms?

603