摘要: 如下SQL的优化: select count(*) from ( select id,name,col1,col2 from t1 where name='xxxx' union select id,name ,null as col1,'' as col2 from t2 where id!=1 阅读全文
posted @ 2018-10-23 17:40 vansky 阅读(401) 评论(0) 推荐(0)