select sum(totalscore) from ( select top 3 owneruserid, u...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

select sum(totalscore) from
(
select top 3 owneruserid, u.displayname, sum(score) TotalScore, sum(viewcount) TotalViewCount
from posts p
join users u on p.owneruserid=u.id
group by owneruserid, u.displayname
order by TotalViewCount desc
) a

Enter Parameters

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