P
pand0ra.usa
I have a query and I am not sure how to go about counting the number
of duplicate IP Addresses and sorting on the most found (i.e. I want
to see the IP Address that has the most duplicates at the top of the
list).
SELECT HeuristicsDaily.[IPAddress], HeuristicsDaily.[Logged],
HeuristicsDaily.[Account], HeuristicsDaily.[PIN]
FROM HeuristicsDaily
WHERE (((HeuristicsDaily.[IPAddress]) In (SELECT [IPAddress] FROM
[HeuristicsDaily] As Tmp GROUP BY [IPAddress] HAVING Count(*)>1 )))
ORDER BY HeuristicsDaily.[IPAddress];
of duplicate IP Addresses and sorting on the most found (i.e. I want
to see the IP Address that has the most duplicates at the top of the
list).
SELECT HeuristicsDaily.[IPAddress], HeuristicsDaily.[Logged],
HeuristicsDaily.[Account], HeuristicsDaily.[PIN]
FROM HeuristicsDaily
WHERE (((HeuristicsDaily.[IPAddress]) In (SELECT [IPAddress] FROM
[HeuristicsDaily] As Tmp GROUP BY [IPAddress] HAVING Count(*)>1 )))
ORDER BY HeuristicsDaily.[IPAddress];