Using a sub-query to list greater than averages
46174
Using an Alias in a WHERE clause
21145
Return more than 2000 records (SOQL)
91887
Select statement to find duplicates on certain fields
148865
How to use `to_sql` in AREL when using `average()`?
54399
Postgresql select until certain total amount is reached
63173
PHP & MYSQL: using group by for categories
124005
How to query records having at least one valid child record?
69613
How do I add a condition to a query?
78521
Apply greater than to a list
108056
Returning a result set with multiple rows based on max date
146163
Combining queries into one
131974
How to fetch the nth highest salary from a table without using TOP and sub-query?
83406
''More than one row returned by a subquery used as an expression'' postgres error
146256
Subquery in SQL Server Compact Edition
31013
How to select records with maximum values in two columns?
75495
Increased amount of each row in sql
43481
Returning query results in predefined order