Subject COUNT DISTINCT on a composite key
Author Robert DiFalco
I was wondering how to perform a distinct count when my table has a
composite primary key. I naively thought something like this might work:

SELECT COUNT( DISTINCT keyColumn1, keyColumn2 ) ....

R.


[Non-text portions of this message have been removed]