I use the tipical ADO conn n VBA for Excel.
Have a table named mytable with 5 fileds
I want to group by first filed the value in first filed and summ the value in filed 4 and filed 5 how to?
Note:
In first filed possible duplicates value.
strucutre of table:
filed1 …. filed4 filed5
4500 45 15
4500 61 8
4501 88 11
6800 1 8
…
7900 145 55
8500 5 21
reslut of query:
4500 106 23
4501 88 11
….