0
卡住这个查询。显然,我在下面有错,但希望它使我想要明确的。MYSQL查询 - 多个喜欢
SELECT branch,
SUM(price * quantity) as "Office" FROM orders WHERE account LIKE "0%"
and
SUM(price * quantity) as Personal FROM orders WHERE account LIKE "1%"
GROUP BY branch;
我确定我在这里。
感谢
完美。非常感谢你。 – user697508