Update 103-avg.md

Added SQL language identifier to enable syntax highlighting
pull/5377/head
Tai 8 months ago committed by GitHub
parent 696e4f1890
commit 78be705f70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/sql/content/104-aggregate-queries/103-avg.md

@ -3,7 +3,7 @@
The `AVG()` function in SQL is an aggregate function that returns the average value of a numeric column. It calculates the sum of values in a column and then divides it by the count of those values. The `AVG()` function in SQL is an aggregate function that returns the average value of a numeric column. It calculates the sum of values in a column and then divides it by the count of those values.
Syntax: Syntax:
``` ```sql
SELECT AVG(column_name) SELECT AVG(column_name)
FROM table_name; FROM table_name;
``` ```

Loading…
Cancel
Save