0
I have the following query:
SELECT SUM('ValorTotal') AS Pagos,StatusCadastros FROM pe_cadastros WHERE StatusCadastros = 'A';
On the field ValorTotal
, who’s with the guy Decimal(7,2)
has 02 values:
1500.00 and 570.00
Only that even having values, the result is returning me zero. I honestly do not know where is the problem in query.
Already includes the GROUP BY ValorTotal
, but it still didn’t work.
What a lack of attention from me. Forgive me for this!!
– user24136
I was going to close this topic, but I’ll leave it open so that other unaware colleagues, as well as myself, can have a solution. Thank you all!
– user24136