select count(*), id from comments group by id having co...

0

Please login or register to vote for this query.

(click on this box to dismiss)

スタック・オーバーフローMeta

プログラマーと熱狂的なプログラマーのためのサイトに関する質問と回答

--SELECT top 10 p1.id, p1.parentid, p2.id, p2.parentid FROM Posts p1, Posts p2
--WHERE p1.id=p2.parentid


select count(*), id
from comments 
group by id
having count(*)>1



--SELECT max(score) as maxscore,  creationdate, postid
--FROM comments
--Group by postid, creationdate

Enter Parameters

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