If you want to see IP addresses from which multiple nameOnline's have tried to log in:select IP, count(distinct nameOnline)from YourTablegroup by IPorder by 2 desc
If you want to see a user name that has attempted logins from multiple IP'sselect nameOnline, count(distinct IP)from YourTablegroup by nameOnlineorder by 2 desc
You may also want to add a where clause to look only for only recent attempts. For example, if you wanted to look for attempts in the last 24 hours:....from YourTablewhere attemptDate > getdate()-1group by nameOnline....