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
