AVG
The AVG() Function is used to return the average value of n.
Syntax :-
Example : Let's see how to used AVG function in table.
SELECT AVG (column_name)
FROM table_name
WHERE conditions;
Query :
Output :
SELECT AVG (Salary)
FROM customers;
Now, you can see AVG() Function calculated average salary in the salary column .
0 Comments