|
|
|
|
|
by rwbaskette
2246 days ago
|
|
What I’ve noticed in my years with various databases is that many SQL parsers error on ambiguity and not necessarily strict compliance. In the case above the parser is likely dropping the parentheses where in the union there’s ambiguity because of the use of two sets and it can’t tell between which set’s b you’d like to order by. I wonder what it would do if you aliased the subquery and ordered by alias_one.b |
|