数据库中符合条件的数值相加sql语句如何写?数据库中符合条件的数值相加 sql语句如何写?[解决办法]select sum(fieldname) from table where [expression]