Mongodb: Select the top N rows from each group
54141
mongodb group values by multiple fields
64566
Find Documents in MongoDB whose with an array field is a subset of a query array
93921
Select groups based on number of unique / distinct values
100981
Select multiple rows with different criteria for each
42491
How do I efficiently get "the most recent corresponding row"?
62482
how to select only row with max sequence without using a subquery?
93927
Display Top X results for each unique value
96581
Find largest document size in MongoDB
42872
How to perform .Max() on a property of all objects in a collection and return the object with maximum value
83355
Group by specific element of array with mongo aggregation framework
155473
Select last N records from MongoDB using node.js
86649
What's the most efficient way to select the last n rows in a table without changing the table's structure?
92992
MySQL: Conditionally selecting next and previous rows
88936
select all rows with a minimum value
110439
How to get first record in each group using Linq
90459
Select top 10 records for each category
108000
Dynamic Linq Groupby SELECT Key, List