r/SQL•
mogtheclog

group by all - when is it a bad idea?

Discussion

one instance is if you delete your aggregation, your query can run with group by all intact and waste a lot of compute.

Posted Oct 3, 2025, 5:20 PM UTC

1120
Loading comments…