SQL query to find out Avg Salary location wise ?
Name|Location|Salary
====|========|======
a   |Bombay  |4000
b   |Bombay  |5000
c   |Delhi   |3000
d   |Delhi   |6000
e   |Chennai |700
f   |Chennai |9000
SQL query to find out Avg Salary location wise ?
Name|Location|Salary
====|========|======
a   |Bombay  |4000
b   |Bombay  |5000
c   |Delhi   |3000
d   |Delhi   |6000
e   |Chennai |700
f   |Chennai |9000
 
    
    use average and group by to get your result.
 select location , avg(salary) as Average from table group by location
You may find this link for more info link.
