SQL Project Assignment


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT (SELECT TOP 1 PERCENT Users.Id) AS User_Id, Badges.Name, Badges.Class, 
(SELECT TOP 1 PERCENT Users.Reputation) AS Reputation, TagBased
FROM Users JOIN Badges ON Users.Id = Badges.UserId
WHERE TagBased = 'true'
ORDER BY Reputation DESC, Class

Enter Parameters

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