I am trying to select duplicate values for a field in a table. The table looks like the following:
Code:
OID Product Serial Status
1 100 abcd 3
2 100 abcf 4
3 100 abcd 3
4 101 ebcd 3
5 101 ebcf 4
6 101 ebcd 3
I would like my result set to be like the following:
Code:
Product Serial Status Count
100 abcd 3 2
101 abcd 3 2
Any ideas on how to get these results?