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 are codd rules?

531


Write a query to remove duplicate rows from a table?

459


Explain the advantages and disadvantages of a hierarchical database?

598


How to configure events with firewall?

535


What is normalisation and its type?

538






Name two utilities that oracle provides, which are use for backup and recovery.

477


Compare non-clustered and clustered index

480


What are vdl and sdl?

622


What are new features postgre 9.1?

498


What is database url?

512


What is implicit cursor in dbms?

537


What are the features of rdbms?

479


What is the database approach?

473


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

658


What do you understand by the view and mention the steps to create, update and drop a view?

467