Report question

Question: How can I count unique pairs of values in SQL?