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)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

--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