SELECT top 100 * from dbo.posts; SELECT top 100 * from d...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

SELECT top 100 * from dbo.posts;

SELECT top 100 * from dbo.users;

select Top 10 coalesce(p.Tags, pQ.Tags) As Tag,
SUM(p.Score) As TotalScore,
Count(*) As TotalPosts
from dbo.Users u
inner join dbo.Posts p ON u.Id=p.OwnerUserId
left outer join dbo.Posts pQ ON p.ParentId =pQ.Id
Group by Coalesce(p.Tags, pQ.Tags)

order by SUM(p.Score) DESC;

Enter Parameters

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