姿姿霸霸~~!
贵在坚持!
posts - 106,  comments - 50,  trackbacks - 0

查询:

select   countTotal ,system
      
from  ( select  tablesystem,  count (tablesystem)  countTotal
              
from  s_dic_table
             
group   by  tablesystem) t1,s_dic_tablesystem t2
     
where  t2.systemcode  =  t1.tablesystem

更新1:
update b_hr_him_employee
   
set name = (select insname from TEMPINSname tmp where tmp.sysid = copyid)
 
where exists
 (
select insname from TEMPINSname tmp where tmp.sysid = copyid)

更新2:
update b_hr_him_employee set
 gender 
= (select minorcode
                   
from s_sys_code s
                  
inner join TEMPINSgender tmp on s.meaning = tmp.insgender
                  
where tmp.sysid = copyid)
 
where exists (select minorcode
          
from s_sys_code s
         
inner join TEMPINSgender tmp on s.meaning = tmp.insgender
         
where tmp.sysid = copyid)
posted on 2007-03-30 16:32 xrzp 阅读(249) 评论(0)  编辑  收藏 所属分类: oracle-基础

只有注册用户登录后才能发表评论。


网站导航:
 

<2007年3月>
25262728123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用链接

留言簿(4)

随笔分类

随笔档案

好友的blog

搜索

  •  

积分与排名

  • 积分 - 115148
  • 排名 - 505

最新评论

阅读排行榜

评论排行榜