pgsql pow funktionen forkert signatur?
Hejnår jeg forsøger at anvende POW() i pqSQL, får jeg følgende fejl:
ERROR: Function 'pow(int4, int4)' does not exist
Unable to identify a function that satisfies the given argument types. You may need to add explicit typecasts.
hvad gør jeg galt?
her er mit query:
SELECT C.country, AVG(POW(C.bore, 3)/2) AS shell
FROM Classes C, Ships S
WHERE C.class = S.class
GROUP BY C.country;
//Jesper
