I'm storing data in two tables (TblOrder and TblClient).
TblOrder
OrderNo Client Date
1 A 2010
2 B 2010
3 A 2010
4 C 2010
5 D 2011
6 E 2011
TblClient
Client Country
A A
B B
C A
D A
E B
I'm trying to find out how to find the number of unique clients that placed an Order during a specific Date (from TblOrder) and are from a specific country (from TblClient).
I.e.
The number of UNIQUE clients that placed an order during 2010 AND are from country A?
Answer: equals to 2 unique clients.
Best regards,
Fredrik