Q&A for amateur radio enthusiasts
select canUpvote, canDownvote, count(*) as numUsers from ( select id, case when reputation < 15 then 'N' else 'Y' end as canUpvote, case when reputation < 125 then 'N' else 'Y' end as canDownvote from Users ) as tmp group by canUpvote, canDownvote