S
shank
I have the following records:
[SerialNo]
22732
22106
22106
22106
22106
21690
21690
21690
What I want is a count of unique [SerialNo].
I should be getting 3.
22732
22106
21690
However, with the following I get 8
SELECT DISTINCT Count(TempCheckPayment.SerialNo) AS CountOfSerialNo
FROM TempCheckPayment
ORDER BY Count(TempCheckPayment.SerialNo);
What query should I be using?
thanks!
[SerialNo]
22732
22106
22106
22106
22106
21690
21690
21690
What I want is a count of unique [SerialNo].
I should be getting 3.
22732
22106
21690
However, with the following I get 8
SELECT DISTINCT Count(TempCheckPayment.SerialNo) AS CountOfSerialNo
FROM TempCheckPayment
ORDER BY Count(TempCheckPayment.SerialNo);
What query should I be using?
thanks!