select bountyamount as "bounty points", count(*) as "numb...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select 
  bountyamount as "bounty points", 
  count(*) as "number of bounties", 
  min(creationdate) as "first such bounty",
  max(creationdate) as "last such bounty"
from votes
where bountyamount is not null and votetypeid = 9
group by bountyamount
order by bountyamount desc

Enter Parameters

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