Guest User

Untitled

a guest
Jan 15th, 2018
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. mysql> select a.username, a.email, r.ip, count(1) AS votes
  2. -> FROM HeapReaction AS r
  3. -> INNER JOIN HeapAccount AS a ON a.id=r.owner_id
  4. -> WHERE type='vote' AND ip LIKE '%75.93.27.248%'
  5. -> GROUP BY owner_id ORDER BY count(1) DESC;
  6. +------------------+-----------------------------+-----------------------------+-------+
  7. | username | email | ip | votes |
  8. +------------------+-----------------------------+-----------------------------+-------+
  9. | bridgets6 | bridgets6@hotmail.com | 75.93.27.248, 192.168.255.3 | 8 |
  10. | FunkierWinner | lu_sorenson@live.com | 75.93.27.248, 192.168.255.3 | 8 |
  11. | bridget | moneyearn2011@live.com | 75.93.27.248, 192.168.255.3 | 8 |
  12. | bridget6 | bridget6@live.com | 75.93.27.248, 192.168.255.3 | 7 |
  13. | kyra | kyra_sorenson@hotmail.com | 75.93.27.248, 192.168.255.3 | 7 |
  14. | bsorenson | bsorenson@cvtc.student.edu | 75.93.27.248, 192.168.255.3 | 7 |
  15. | travis_sparton | travis_sorenson@hotmail.com | 75.93.27.248, 192.168.255.3 | 6 |
  16. | fallinggamer | dylan_sorenson@live.com | 75.93.27.248, 192.168.255.3 | 5 |
  17. | travis-grunt | money981@live.com | 75.93.27.248, 192.168.255.3 | 4 |
  18. | halo123isthebest | bule1taem@live.com | 75.93.27.248, 192.168.255.3 | 4 |
  19. | doglover | kyle_sorenson@hotmail.com | 75.93.27.248, 192.168.255.3 | 4 |
  20. | Fieldelite | drew_sorenson@hotmail.com | 75.93.27.248, 192.168.255.3 | 4 |
  21. | halolover9999 | jsorenson6@gmail.com | 75.93.27.248, 192.168.255.3 | 3 |
  22. | fallinggame | sorenson1dylan@live.com | 75.93.27.248, 192.168.255.3 | 3 |
  23. | halomand | kyle_sorenson@live.com | 75.93.27.248, 192.168.255.3 | 2 |
  24. | itsbulething | bule1team@live.com | 75.93.27.248, 192.168.255.3 | 1 |
  25. | Ratar | chris54703@clearwire.net | 75.93.27.248, 192.168.255.3 | 1 |
  26. +------------------+-----------------------------+-----------------------------+-------+
Add Comment
Please, Sign In to add comment