posts - 167,  comments - 30,  trackbacks - 0
select t1.id,t1.parent_sys_fun_point_id,t1.sys_fun_point_type,t1.sys_fun_point_state,t2.sys_fun_point_ver,
       t4.sys_fun_point_name ,t2.create_time,t4.sys_fun_point_code,t4.sys_fun_point_desc,t2.sys_fun_point_info_id,t1.sys_fun_point_layer
         from req_system_function_point t1,
                (select distinct t.sys_fun_point_id,t.sys_fun_point_ver,t.sys_fun_point_info_id,t.create_time,t.sys_ver
                   from req_sys_fun_point_version t
                      where t.sys_ver <= (select tt.cur_sys_ver from req_sys tt))
t2,
                      req_sys_fun_point_info t4
          where t1.parent_sys_fun_point_id is not null
                       and t1.id = t2.sys_fun_point_id
                       and t4.id=t2.sys_fun_point_info_id
                       and t1.sys_fun_point_state = 0
                       and t2.sys_ver=(select max(t3.sys_ver)  from  req_sys_fun_point_version t3 where  t1.id=t3.sys_fun_point_id );
posted on 2009-11-25 14:58 David1228 阅读(3860) 评论(0)  编辑  收藏 所属分类: 数据库

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


网站导航:
 

<2009年11月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

常用链接

留言簿(4)

随笔分类

随笔档案

文章档案

新闻分类

新闻档案

相册

收藏夹

Java

Linux知识相关

Spring相关

云计算/Linux/虚拟化技术/

友情博客

多线程并发编程

开源技术

持久层技术相关

搜索

  •  

积分与排名

  • 积分 - 353972
  • 排名 - 155

最新评论

阅读排行榜

评论排行榜