Tag: group-by
- MySQL: advanced patterns with GROUP BY and Aggregated Functions in Subqueries
- SQL Server: Trouble with NULL values in a conditional COUNT during GROUP BY
- MySQL 5.7: Inconsistent Results with GROUP BY and HAVING Clauses in Complex Queries
- MySQL 5.7: Strange behavior when using GROUP BY with aggregate functions and NULLs in a subquery
- SQL Server: Unexpected Results with LEFT JOIN and GROUP BY on Nullable Columns
- SQL Server: Unexpected duplicate rows when using GROUP BY with a JOIN on multiple tables
- SQLite query with GROUP BY and HAVING not filtering correctly for aggregated values
- PostgreSQL 15: Incorrect Aggregate Results with GROUP BY on JSONB Fields
- MySQL 5.7 - Unexpected Behavior with GROUP BY and Non-Aggregated Columns
- MySQL query with multiple GROUP BY clauses returning unexpected row counts in CodeIgniter 4
- MySQL 5.7: Inconsistent results with GROUP BY and NULL values in LEFT JOINs
- Understanding Unexpected Results from GROUP BY with CASE in SQL Server 2019
- MySQL query using multiple joins and CASE statement returns unexpected NULL values in result set
- MySQL 8.0: Unexpected results when using GROUP BY with non-aggregated columns
- SQL Server: Why does my CTE return duplicate rows despite DISTINCT clause?
- Issues with DISTINCT and GROUP BY causing unexpected duplicates in MySQL 8.0
- MySQL 8.0: Unexpected NULL results from COALESCE when using GROUP BY with JSON columns
- MySQL: Difficulty retrieving unique records from two joined tables with filtering on NULL values
- MySQL 8.0: Incorrect Row Count with GROUP BY and HAVING Clause in Subquery
- MySQL 8.0 - Query Returning Incorrect Results with GROUP BY and CASE Statements
- PostgreSQL performance implementing large JOINs and GROUP BY on indexed columns
- PostgreSQL: Getting NULL instead of aggregated values when using LEFT JOIN with GROUP BY
- MySQL 5.7: Problems with using GROUP BY in combination with aggregate functions and non-aggregated columns
- SQL Server: Unexpected results when using LEFT JOIN with aggregate functions and GROUP BY
- SQL Server 2016: Inconsistent results when using conditional aggregation with GROUP BY
- Unexpected NA values when using `dplyr::summarize` with grouped data frames in R 4.3
- SQL Server - Incorrect Data Returned When Using COALESCE with a GROUP BY Clause
- SQL Server: Inconsistent Results with Conditional Aggregation in Group By Clause
- MySQL: Unexpected Results When Filtering with DATE_FORMAT and GROUP BY
- MySQL 8.0 - implementing Ordering Results After a GROUP BY with Multiple Aggregates
- PostgreSQL: Unpredictable results with GROUP BY when using CASE in aggregated columns
- MySQL 5.7: Trouble with GROUP BY clause not aggregating correctly when using CASE statements
- MySQL 8.0 - Query Returning Incorrect Row Count When Using UNION with GROUP BY
- SQL Server 2019: implementing Duplicate Rows on INNER JOIN with GROUP BY
- MySQL: Incorrect results when using GROUP BY with CASE statement in subquery
- MySQL 5.7 - Difficulty with Grouping Results and Retaining Non-Aggregated Columns
- MySQL 5.7 - Difficulty with GROUP BY and Non-Aggregated Columns in Complex Queries
- SQLite query with GROUP BY and aggregate function returning unexpected results
- SQLite `GROUP BY` not aggregating correctly with custom calculation in a subquery
- MySQL: implementing Using GROUP BY and Aggregate Functions in Subquery for Daily Report Generation
- MySQL 8.0: Inconsistent Results When Using GROUP BY with NULL and Empty Strings
- MySQL 8.0: Inconsistent results with CASE statement inside GROUP BY clause
- How to implement guide with case statement in sql server causing unexpected results in group by
- MySQL GROUP BY with CASE statement not aggregating correctly when using multiple columns
- SQL Server query returning incorrect results with LEFT JOIN and GROUP BY
- MySQL 5.7: Problems with NULL values in JSON_OBJECT when using GROUP BY
- MySQL 5.7: implementing GROUP BY and derived tables not returning expected results
- MySQL 8.0: implementing ORDER BY on Calculated Columns with GROUP BY
- MySQL 5.7: implementing Group By and Aggregate Functions in Complex Queries
- MySQL 8.0: Performance Issues with Group By and Having Clause in Complex Queries
- Why does my T-SQL query return different results when using GROUP BY with CASE statements?
- advanced patterns when using MySQL's IFNULL in a SELECT query with GROUP BY
- MySQL 5.7: Slow performance on SELECT with GROUP BY and HAVING clauses on large dataset
- PostgreSQL: advanced patterns with GROUP BY and Joins leading to inflated counts