Sum em uma select jah pronta

Firebird

12/07/2004

tem como fazer um sum em uma select jah pronta ?!



Ex:


select sum(subtotal)

na select

select * from contas where previsao=:previsao


Marfred

Marfred

Curtidas 0

Respostas

Afarias

Afarias

12/07/2004

Não entendi... algo como::

select sum(subtotal) from contas where previsao=:previsao


?????


T+


GOSTEI 0
POSTAR