SELECT (subquery1) AS s1,(subquery2) AS s2,(s1+s2) AS s3
还是我必须诉诸
SELECT (subquery1) AS s1,((subquery1)+(subquery2)) AS s3
?
谢谢
编辑:两个子查询产生整数结果
最佳答案
原文链接:https://www.f2er.com/mysql/531983.htmlSELECT (subquery1) AS s1,(subquery2) AS s2,(s1+s2) AS s3
还是我必须诉诸
SELECT (subquery1) AS s1,((subquery1)+(subquery2)) AS s3
?
谢谢
编辑:两个子查询产生整数结果