final project

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 TOP 200 
    Id AS UserId,
    Reputation,
    DATEDIFF(DAY, CreationDate, GETDATE()) AS AccountAge,
    UpVotes,
    DownVotes,
    (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = Users.Id) AS PostCount
FROM Users
WHERE Reputation > 0
ORDER BY Reputation DESC;

Enter Parameters

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