Ad
  • Custom User Avatar

    Remember you need to get the avg into a string and above all, you need to cast at least one of the variables as numeric otherwise you'll get 0 everywhere. PostgreSQL is awful.