Reputation: 13
So if we have two columns 'Domain' and 'Score'. There are duplicate domains with different scores. How would I add all the scores together that are from the same domain?
and furthermore, how do I then show it separately in another table?
Thanks,
Leon.
Upvotes: 0
Views: 18
Reputation: 442
query look like this.
SELECT Domain, sum(NZ(Score,0)) as total FROM yourtable group by Domain
Upvotes: 1