这句SQL语句是什么意思?[解决办法]引用:select SUM([price]) from (select * from table1 union all selec
这句SQL语句是什么意思?
[解决办法]
from后面的这部分(select * from table1 union all select * from table2) , 是一个派生表,由: select * from table1 union all select * from table2 组成的数据,而派生表必须要取个别名,不加就会报错。