Users Rep Bins

0

Please login or register to vote for this query.

(click on this box to dismiss)

Movies and TV Meta

Q&A about the site for movie and tv enthusiasts

SELECT 
  SUM(case WHEN reputation >= 1 THEN 1 ELSE 0 END) b1,
  SUM(case WHEN reputation > 200 THEN 1 ELSE 0 END) b200,
  SUM(case WHEN reputation > 500 THEN 1 ELSE 0 END) b500,
  SUM(case WHEN reputation > 1000 THEN 1 ELSE 0 END) b1000,
  SUM(case WHEN reputation > 2500 THEN 1 ELSE 0 END) b2500,
  SUM(case WHEN reputation > 5000 THEN 1 ELSE 0 END) b5000,
  SUM(case WHEN reputation > 10000 THEN 1 ELSE 0 END) b10000,
  SUM(case WHEN reputation > 25000 THEN 1 ELSE 0 END) b25000 , 
  SUM(case WHEN reputation > 50000 THEN 1 ELSE 0 END) b50000,
  SUM(case WHEN reputation > 100000 THEN 1 ELSE 0 END) b100000
  FROM 
  users

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results