mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-10 11:14:09 +02:00
Merge pull request #5377 from olawuwo/patch-1
Add SQL identifier to enable highlighting in snippet
This commit is contained in:
@@ -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;
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user