When executing this basic query I have this error:
WITH CALCULO AS (
(SELECT SUM(UTILITY) FROM _coste_rv) - (SUM(UTILITY) + (SELECT SUM(UTILITY) FROM _tmp_coste)))
Message of Error:
Syntax error: Expected ")" but got "-"
What I want it to show is the amount of those 2 values
The top-level statement should be SELECT. I.e. you cannot write
it should be
i.e.