Вопросы с максимальным количеством тэгов

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sports

Q&A for participants in team and individual sport activities

SELECT Id, Title, Tags
FROM Posts
WHERE PostTypeId = 1 AND Id IN(
select x.PostId
from (SELECT PostId, COUNT(*) as l
FROM PostTags GROUP BY PostId) as x where
x.l=(select MAX(x.l) as k
from (SELECT PostId, COUNT(*) as l FROM PostTags GROUP BY PostId) as x))

Enter Parameters

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