select top 100 UserId as "User Link", sum(case when Text=...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ukrainian Language Meta

Q&A about the site for linguists, teachers and students of the Ukrainian language

select top 100 UserId as "User Link", sum(case when Text='hello' THEN 1 ELSE 0 END) as "Total Smiley" from Comments
group by UserId
order by "Total Smiley" desc

Enter Parameters

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