GAUSS-00241: “aggregates not allowed in JOIN conditions”
SQLSTATE: 42803
错误原因:JOIN condition 中使用聚集函数。
解决办法:JOIN condition 中不允许使用聚集函数。
GAUSS-00242: “aggregates not allowed in GROUP BY clause”
SQLSTATE: 42803
错误原因:聚集函数出现在 group by 子句中。
解决办法:聚集函数不允许出现在 group by 子句中。
GAUSS-00243: “aggregate functions not allowed in a recursive query's recursive term”
SQLSTATE: 42P19
错误原因:递归查询中使用聚集函数。
解决办法:递归查询中不允许使用递归查询。
GAUSS-00244: “window functions not allowed in WHERE clause”
SQLSTATE: 42P20
错误原因:WHERE clause 中出现窗口函数。
解决办法:WHERE clause 中不允许出现窗口函数。
GAUSS-00245: “window functions not allowed in JOIN conditions”
SQLSTATE: 42P20
错误原因:JOIN condition 中使用窗口函数。
解决办法:JOIN condition 中不允许使用窗口函数。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




