Jump to content


manobrx

Member Since 27/02/2008
Offline Last Active 28/02/2008, 10:58
-----

Topics I've Started

Agrupar Dados De Uma Só Tabela

27/02/2008, 11:32

Bom dia,

Seguinte, estou com um problema para fazer um agrupamento em um select, eu tenho os seguintes dados:

Código Valor
1 5,00
1 10,00
2 8,00
3 25,00
3 18,00
4 100,00

Mas eu precisava que aparecesse assim:
Código Valor
1 15,00
2 8,00
3 43,00
4 100,00

Entenderam?

IPB Skin By Virteq