query: Top-N per group (MSSQL)
positive_passages.docid: 90459
positive_passages.text: Select top 10 records for each category
negative_passages.docid: 62624
negative_passages.text: What is a simple and efficient way to find rows with time-interval overlaps in SQL?
negative_passages.docid: 49911
negative_passages.text: How can I return 10 of the most recent results in sql?
negative_passages.docid: 102054
negative_passages.text: Is there an Oracle SQL query that aggregates multiple rows into one row?
negative_passages.docid: 27529
negative_passages.text: How do I generate random number for each row in a TSQL Select?
negative_passages.docid: 121738
negative_passages.text: How to find the nth highest salary in SQL?
negative_passages.docid: 15594
negative_passages.text: Select the row with the maximum value in each group
negative_passages.docid: 36725
negative_passages.text: MySQL - alternatives to nested subqueries when limiting aggregate data in a correlated subquery
negative_passages.docid: 79871
negative_passages.text: Calculate a Running Total in SQL Server
negative_passages.docid: 118546
negative_passages.text: In SQL, how can you "group by" in ranges?
negative_passages.docid: 109912
negative_passages.text: PostgreSQL: Generate a series of dates for each group in a table
negative_passages.docid: 91217
negative_passages.text: Arbitrarily ordering records in a table
negative_passages.docid: 2241
negative_passages.text: Get top 1 row of each group
negative_passages.docid: 80391
negative_passages.text: T-SQL: Selecting Column Based on MAX(Other Column)
negative_passages.docid: 138361
negative_passages.text: What's faster, SELECT DISTINCT or GROUP BY in MySQL?
negative_passages.docid: 98347
negative_passages.text: SQL Server Row by Row Access
negative_passages.docid: 7707
negative_passages.text: Is it possible to make a recursive SQL query?