SELECT c.score, c.text, p.body FROM Posts p INNER JOI...

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 c.score, c.text, p.body 
FROM Posts p INNER JOIN Comments c ON p.id=c.postid
WHERE c.score= (SELECT max(score) from Comments)

Enter Parameters

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