February 28, 2011 at 9:55 pm
Hi everybody,
I always try to write different queries, but still problem. I CANNOT get glance on query writing. :crying:
Can anybody please tell how to write the query given in the following url? My colleague has given this exercise to me. Is there any special technique to write like this type of query?
March 1, 2011 at 7:28 am
Three hints...
CTE
ROW_NUMBER() OVER (PARITION BY ________ ORDER BY ________)
OUTER JOIN
Look those up in Books Online (the "Help" system that comes with SQL Server)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2011 at 10:41 pm
So did that help at all? Heh... "Enquiring minds want to know." 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply