RPC function to get sum of specific columns does not work in the SQL Editor

I'm currently implementing a rpc function as follow, however, it is not working.
unknown.png
Was this page helpful?