Search 
Friday, July 30, 2010 ..:: Examples » Top Clause ::.. Register  Login
 TOP Clause
Top 3 Records for Each Item Based on RowNumber - Tuesday, April 08, 2008
This examples returns the TOP 3 records for an Item based on RowNumber. It does this by performing a correlated subquery based on RowNumber. read more ...

TOP 3 Records For Item Based On Date - Saturday, April 05, 2008
This example joins two tables and returns the top 3 records in right table for every records in the left table. It does this by using the TOP clause in a correlated subquery.
 read more ...


  
SQL Tools Heaven
Exceptional DBA
SQL Compare
Copyright 2007, 2008 by SQLServerExamples.com   Terms Of Use  Privacy Statement