G
Guest
Hello,
Given this tabel as an example I would like to produce a query counting the
unique number of column 3 (drinks) for cloumn a and b.
Table:
1 2 3
a b beer
a b beer
a b cola
a b fruit
b g beer
b g cola
b g cola
b g cola
b g beer
I can get this Query
1 2 CountOf3
a b 2
a b 1
a b 1
b g 2
b g 3
but i want this one
1 2 CountOf3
a b 3 for a and b we have 3 unique
drinks
b g 2 for b and g we have 2 unique
drinks
Ths for your help!
Given this tabel as an example I would like to produce a query counting the
unique number of column 3 (drinks) for cloumn a and b.
Table:
1 2 3
a b beer
a b beer
a b cola
a b fruit
b g beer
b g cola
b g cola
b g cola
b g beer
I can get this Query
1 2 CountOf3
a b 2
a b 1
a b 1
b g 2
b g 3
but i want this one
1 2 CountOf3
a b 3 for a and b we have 3 unique
drinks
b g 2 for b and g we have 2 unique
drinks
Ths for your help!