形如(不能运行)
set avg_a=(select avg(a) from table_a)
收起
找到了。
set avg_a=(select avg(item_a) from A);
这样avg_a可以储存下来item_a的平均值。
报告相同问题?