摘要: 方案:通过union连接查询出所有需要的特殊标签,然后在通过left join与union中的结果集做多表比较。sqlselect t.`code`,a.`count` as count_a,b.`count` as count_b from(select `code` from tmp_a aun... 阅读全文
posted @ 2015-09-25 11:49 243573295 阅读(421) 评论(0) 推荐(0) 编辑