select p.UserId as user_id, count(p.id) comment_count, 6 ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga

Q&A for anime and manga fans

select p.UserId as user_id, count(p.id) comment_count, 6 as election_id
from comments p
where p.creationdate<='6-Apr-2015'
and p.UserId in (100297,
1065190,
1069068,
109702,
1114,
1234256,
1252759,
1380752,
1530814,
1603234,
1849664,
189134,
1952862,
2057919,
2074608,
224988,
229044,
2371861,
2581872,
3366929,
3622940,
379693,
444991,
476,
492405,
542517,
572,
616460,
871050,
965146,
995926)
group by p.UserId;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results