Adding an aggregate function to the WHERE clause?
140337
Using an aggregate function in where
51536
Concatenate fields in SOQL queries in the WHERE clause (no Apex)
98335
How do I get the MAX row with a GROUP BY in LINQ query?
21053
How to use GROUP BY to concatenate strings in MySQL?
14638
PostgreSQL -must appear in the GROUP BY clause or be used in an aggregate function
112277
MySQL Multiple Where Clause
124727
How to make a query with group_concat in sql server
21426
How to use GROUP BY to concatenate strings in SQL Server?
144271
Use SUM In Update Statement
68760
SQL Switch/Case in 'where' clause
154212
Codeigniter Active Record 'where_or' grouping
75982
How To Group Records By Value In A Specific Field?
71713
PostgreSQL - "DISTINCT ON" and "GROUP BY" syntax
157286
How do I reference an alias in a WHERE clause?
152144
Using mysql concat() in WHERE clause?
510
Simulating group_concat MySQL function in Microsoft SQL Server 2005?
46174
Using an Alias in a WHERE clause