PostgreSQLの列から平均数を計算したい
SELECT AVG(col_name)
From TableName
それは私にこのエラーを与えます:
ERROR: function avg (character varying) does not exist
LINE 1: SELECT AVG(col_name)
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.