AntiPattern
SQL Semantics Drift
sql-semantic-drift
SQL queries silently change meaning when using features like GROUP BY ROLLUP, UNION DISTINCT behavior, and window partitions, causing totals to swallow detail rows, bloated result sets, and mismatched filtering logic.