会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
红色石头
热情的血液+石头的冰冷
博客园
首页
新随笔
联系
管理
订阅
2006年7月13日
对多表联合查询的SQl语句的改进,大幅提高查询性能
摘要: 常用的多表联合查询的sql语句:select table1.ID from table1 inner join table2 on table1.ID=table2.ID where table2.col2='xxx'改进后:select a.ID from table1 a,(select col1,ID from table2 where col2='xxx') b where a.ID=b...
阅读全文
posted @ 2006-07-13 14:56 红色石头
阅读(5868)
评论(5)
推荐(0)
编辑