Dept wise avrage salary

Answer Posted / naresh

select avg(sal) from emp group by deptno;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of tables in database?

480


Which two statements are true about a foreign key?

525


Which database is best for storing large data?

455


How to configure events with firewall?

542


What is a database in a website?

502






Explain 2nf?

534


How many database systems are there?

493


What is database partitioning?

515


What is database transaction?

489


What do you mean by query evaluation engine?

528


How to change database dialect?

524


When we will denormalize data?

520


How do I add a file to a database?

471


What is structure of dbms?

492


IF Statements BLOCK 1 . IF a >= b THEN do_this …..; ELSE do_that….; END IF BLOCK 2 . IF a < b THEN do_that …..; ELSE do_this….; END IF; • Given any pair of non-NULL values for “a” and”b”, will Block 1 and Block 2 do the same thing? • What if either “a” or”b” (or both) is NULL?

1748