How to use SQL AVG function in SQL Server ?

Leave a Comment
          I explain you how to find avg in SQL. SQL AVG function is used to find out the average value of numeric column.

For explanation I consider a table with following records :
 Using below query we find average salary from above table :
We produce following result :
Following example will take average all the records related to a Model.
We produce following result :

0 comments:

Post a Comment