会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
玉开Sir的技术博客
穷则变,变则通,通则久 寂寞平淡
博客园
首页
新随笔
联系
订阅
管理
2007年3月27日
精妙Sql语句
摘要: 1. 判断a表中有而b表中没有的记录 select a.* from tbl1 a left join tbl2 b on a.key = b.key where b.key is null 虽然使用in也可以实现,但是这种方法的效率更高一些 2. 新建一个与某个表相同结构的表 select * into b from a where 11 3.between的用法,bet...
阅读全文
posted @ 2007-03-27 21:44 玉开
阅读(1667)
评论(2)
推荐(0)
编辑
公告