mysql 表中两列先相加,然后再求所有的列的和时间:2022-09-23 11:28:29SELECT SUM(s) FROM(select p.PRE_DEPOSIT_BALANCE+p.MARGIN_BALANCE as s FROM provider_charge_mgr p)t 这样就可以了