top 40 closed questions (most favorited)

7

Please login or register to vote for this query.

(click on this box to dismiss)

are they the most interesting ones?

Internet of Things Meta

Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors

-- top 40 closed questions
-- are they the most interesting ones?

SELECT top 40
    p.favoritecount, p.id, p.id as [Post Link]
FROM Posthistory h
    INNER JOIN PosthistoryTypes t ON h.posthistorytypeid = t.id
    INNER JOIN Posts p ON h.postid = p.id
WHERE 
    t.name = 'Post Closed'
GROUP BY p.favoritecount, p.id
ORDER BY p.favoritecount DESC

Enter Parameters

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