提交 7553a23c 编写于 作者: M Michael Koziarski

Remove AS for oracle compatibility

上级 00e2ba76
...@@ -217,7 +217,7 @@ def construct_calculation_sql(operation, column_name, options) #:nodoc: ...@@ -217,7 +217,7 @@ def construct_calculation_sql(operation, column_name, options) #:nodoc:
sql << " ORDER BY #{options[:order]} " if options[:order] sql << " ORDER BY #{options[:order]} " if options[:order]
add_limit!(sql, options, scope) add_limit!(sql, options, scope)
sql << ") AS #{aggregate_alias}_subquery" if use_workaround sql << ") #{aggregate_alias}_subquery" if use_workaround
sql sql
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册