Bonjour voila ma table:
code type qté
35212 A 10
35213 B 5
35213 A 10
35212 B 2
35212 A 5
35213 B 5
et voila le resultat que je voudrais obtenir:
code type qté total
35212 A 15
35212 B 2
35213 A 10
35213 B 10
 [SQL] Total détaillé pour un champ
 [SQL] Total détaillé pour un champ
				
				
						
						
				Bonjour voila ma table:
code type qté
35212 A 10
35213 B 5
35213 A 10
35212 B 2
35212 A 5
35213 B 5
et voila le resultat que je voudrais obtenir:
code type qté total
35212 A 15
35212 B 2
35213 A 10
35213 B 10
Partager