The TOP Clause returns top rows from the table based on the number or percentage value
What if you want to have TOP N rows for each group?
The following explains it
(
The purpose is to return top 3 orders for each customer based on the
most recent orderdate from the table Orders in Northwind database
)
1 Use IN ...Full Article.
A
New
Internet
Library: Add Your Website/Blog
or Suggest A Website/Blog to our Free Web Directory
http://anil.myfunda.net.
Its very simple, free and SEO Friendly. Submit Now....
Its very simple, free and SEO Friendly. Submit Now....
Subscribe to:
Post Comments (Atom)
Post a Comment