Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing
SELECT TOP(100) ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('Pakistan') -- AND Id = ##UserId## ORDER BY Reputation DESC;