Q&A for professional and enthusiast programmers
SELECT COUNT(a.id), MAX(a.id) FROM ( SELECT TOP 10000 p1.id AS id FROM posts p1 INNER JOIN posts p2 ON p1.acceptedanswerid = p2.id WHERE p1.tags LIKE '%<java>%' and p1.id > 50203931 order by p1.id ) AS a;