摘要: 求和: select sum(A) from table1 where id = '1'; select sum(B) from table2 where id = '1'; 若求和值为Null,需要转换,否组会报错 通过IFNULL转换,转换格式:IFNULL(字段,0) 调整后如下: selec 阅读全文
posted @ 2020-12-30 17:46 linma 阅读(160) 评论(0) 推荐(0)