SQL Server - use a parameter to select the top X of the result set
30558
Use variable with TOP in select statement in SQL Server without making it dynamic
79871
Calculate a Running Total in SQL Server
131974
How to fetch the nth highest salary from a table without using TOP and sub-query?
30078
How do I perform a GROUP BY on an aliased column in MS-SQL Server?
143521
MySQL LIMIT/OFFSET: get all records except the first X
39628
SQL select only rows with max value on a column
99373
SQL server select distinct rows using most recent value only
31811
Select row from a table by column value
141193
combining results of two select statements
2925
Taking the "transpose" of a table using SQL
112780
pass parameter in table valued function using select statement
19860
Using a variable in a SELECT statement?
93927
Display Top X results for each unique value
88936
select all rows with a minimum value
150
how to select first N rows from a table in T-SQL?
35430
selecting where two columns are in a set
34791
How can I retrieve a list of parameters from a stored procedure in SQL Server