How to calculate the average value of a column in SQL?
BrindhaPrathaban Answered question July 5, 2023
We have to pass the column name as a parameter. The avg() function has the following syntax:Â SELECT AVG( column_name ) FROM table_name; The avg() function can be used with the SELECT query for retrieving data from a table
BrindhaPrathaban Answered question July 5, 2023
The column name must be given as a parameter. The syntax for the average() function is as follows: SUM(column_name) FROM table_name; To retrieve data from a table, use the average() method in conjunction with the SELECT query.
Vishalini.R Answered question July 5, 2023
