SELECT count(*) FROM posts id, posts parentid WHERE id.id...

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 count(*)
FROM posts id, posts parentid
WHERE id.id = parentid.parentid
AND id.score > parentid.score
and id.creationdate between '2022-01-01 00:00:00' and '2022-12-31 23:59:59'
and parentid.creationdate between '2022-01-01 00:00:00' and '2022-12-31 23:59:59'

Enter Parameters

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