看名字是跟格式化有关。
让我们看看他说了什么吧。
Hi,
When there is a function used on a column name, the aliases are not correctly justified/aligned when using the PLSQL Beautifier. See the screenshot. Both the queries have been formatted.
大概意思就是写了函数之后,美化器没有正确的对齐别名。
看了图之后一目了然,两个都是格式化之后的查询,加了函数和没加函数的区别竟然这么大。没加的就一点也不乱,而加了函数的乱糟糟的。
那么对这个事实,aa的工程师也老老实实承认:
This is indeed a limitation of the alignment option. When using function calls or other expressions in the field list, the aliases will not be aligned.
好吧,看来是无解了。