If a column is defined as a character but it contains numeric values, can I use avg on such column or I have to do some type of a cast on the column.
Right now I get:
"unable to select an aggregate function avg(character varying"
on
select avg(a) from table;
Thanks a lot
from "Just started to use PostGres SQL"
Right now I get:
"unable to select an aggregate function avg(character varying"
on
select avg(a) from table;
Thanks a lot
from "Just started to use PostGres SQL"