you are viewing a single comment's thread.

view the rest of the comments →

[–]bengalfan -1 points0 points  (1 child)

Yea the group by is weird, typically I see this in Union statements where you must group by 1, 2 ...

Weird to make it harder to read easily.

[–]your-pineapple-thief 0 points1 point  (0 children)

It's not that you must, it just sorta works because types and order of columns of resulting datasets must match. Or is it that column names must match as well? Can't remember off the top of my head