首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

代码全世界

2012-07-15 
代码世界select w.IWORKITEMIDas iworkitemid,w.SWORKITEMNOas sworkitemno,w.IBUIDas ibuid,w.SWORKITEMD

代码世界
select w.IWORKITEMID   as iworkitemid,
                       w.SWORKITEMNO   as sworkitemno,
                       w.IBUID         as ibuid,
                       w.SWORKITEMDESC as sworkitemdesc
                  from T_TLC_WORKITEM w
                 where w.IBUID = '241'
                   and w.ivalid = 0
                   and w.iworkitemid <= 0
                  and exists (select 0
                          from t_tlc_project_wbs_ref wref,
                               t_tlc_wbs_template    wbs
                         where wref.itask_id = wbs.itaskid
                           and wref.iproject_id = '4797'
                           and wbs.iwbstypeid = w.iworkitmetypeid
                           and wbs.istatus = 0

热点排行