SELECT AVG(column_name)
FROM table_name
WHERE condition;
SELECT AVG(age) AS average_age
FROM Customers;
SELECT student_name, avg(notes) FROM student_notes GROUP BY student_name;
Code Example |
---|
:: |
Sql :: |
:: sql get actual fiscal year |
Sql :: |
:: |
Sql :: sqlite create record |
:: |
:: |
:: |
:: |
:: sqlalchemy query sql compiled |
:: excel vba import data to sql server |
:: |
Sql :: mysql not null |
Sql :: |
:: |
Sql :: local sql server |
Sql :: |
:: |
:: |
:: |
:: |
Sql :: |
:: |
Sql :: column must appear in the GROUP BY clause or be used in an aggregate function |
:: |
Sql :: |
:: what is like operator in sql |
Sql :: |
:: |