-1
I believe that this SQL sums the quantities by grouping the items:
select Cardapio.IndicadorSetor, Cardapio.NomeItem, SUM(AtendimentoItem.Quantidade)
from Cardapio,AtendimentoItem
group by Cardapio.IndicadorSetor, Cardapio.NomeItem
-1
1
I believe that this SQL sums the quantities by grouping the items:
select Cardapio.IndicadorSetor, Cardapio.NomeItem, SUM(AtendimentoItem.Quantidade)
from Cardapio,AtendimentoItem
group by Cardapio.IndicadorSetor, Cardapio.NomeItem
Browser other questions tagged sql
You are not signed in. Login or sign up in order to post.
It worked out, thanks
– ITALLO