【发布时间】:2016-05-19 10:10:14
【问题描述】:
谁能帮我找出这个小查询中的错误。
select count(txno) as c1, rxno from mrgrxtxt
where c1>1
group by rxno;
错误:[Error Code: -217, SQL State: IX000] Column (c1) not found in any table in the query (or SLV is undefined).
如果我注释掉 WHERE 子句 (where c1 >1),它执行得很好。
【问题讨论】: