Hi,
For example I have a simple table called Session like this:
PersonID SessionNum
========== =============
101 105
101 21
102 33
102 46
102 57
103 69
. .
. .
The SessionNum are unique, but in a random order.
Can someone suggest how to write a query, to find which person has the most occurance of the SessionNum, and how many? and which person has the less?
Thanks in advance,
-----
Henry
For example I have a simple table called Session like this:
PersonID SessionNum
========== =============
101 105
101 21
102 33
102 46
102 57
103 69
. .
. .
The SessionNum are unique, but in a random order.
Can someone suggest how to write a query, to find which person has the most occurance of the SessionNum, and how many? and which person has the less?
Thanks in advance,
-----
Henry