SELECT Posts.PostTypeId as PostTypeId, min(PostTypes.Name...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT
Posts.PostTypeId as PostTypeId,
min(PostTypes.Name) as Name,
COUNT(*) as Count,
min(Posts.CreationDate) as First,
min(Posts.Id) as [Post Link],
max(Posts.CreationDate) as Last,
max(Posts.Id) as [Post Link]
from Posts
LEFT JOIN PostTypes on Posts.PostTypeId = PostTypes.Id
GROUP BY Posts.PostTypeId
ORDER BY Posts.PostTypeId

Enter Parameters

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