摘要: select sum(`value`) from testtable where value != 'error' AND type ='b' in (select DISTINCT(type) from testtable);SELECT type,subtype,SUM(value) AS TO... 阅读全文
posted @ 2015-11-25 10:52 acdyf 阅读(119) 评论(0) 推荐(0) 编辑