how to calculate average total in sql server table where something didnt take place code example
Example: sql avg()
/*AVG() is an aggregate function that returns the
average value for a numeric column*/
SELECT AVG(column_name)
FROM table_name;
/*AVG() is an aggregate function that returns the
average value for a numeric column*/
SELECT AVG(column_name)
FROM table_name;