John's Technical Blog
Tuesday, 22 September 2009
SQL: Row Number Example
SELECT
FirstName,
LastName,
[Row Number]=
ROW_NUMBER() OVER(ORDER BY SalesYTD DESC), SalesYTD
FROM x
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment