select c.running_id, uf.user_name, uf.dep_name, f.dispose_time, uc.user_name, c.flow_state_id
from running_flow c, user_dispose_flow f, user_info uc, user_info uf
where c.running_id=f.running_id and f.flow_step_id=1
and f.user_id=uf.user_id and c.user_id=uc.user_id
and exists(select 1 from user_dispose_flow i
where i.running_id=c.running_id and i.user_id=本人的ID)
from running_flow c, user_dispose_flow f, user_info uc, user_info uf
where c.running_id=f.running_id and f.flow_step_id=1
and f.user_id=uf.user_id and c.user_id=uc.user_id
and exists(select 1 from user_dispose_flow i
where i.running_id=c.running_id and i.user_id=本人的ID)
解决方案 »
- ORA-00932: 数据类型不一致: 应为 -, 但却获得 BLOB
- oracle 实例连接错误 :ORA-12569
- 可以直接使用导出的表结构SQL脚本创建一个新表吗?
- 数据库服务器经常出现CPU占用率100%的情况,联入数据库的有40多个用户,主要在运行数据量比较大的报表时出现这个现象,怎么优化报表程序都难以改善
- 如何通过程序配置oracle客户端?
- 存储过程使用blob输入参数问题
- ORA-01536 错误
- 在LINUX下安装出错?
- oracle用exp做备份能把视图也备份出来么?应该怎么做啊?
- 通过代码循环往数据库中插入数据时报错,求各位大神指点
- 小小问题,大虾们帮帮忙:数据库链接名重复
- 运用Exp80.exe 提示数据库表找不到为何?
from user_dispose_flow d, running_flow r, user_info u
( select distinct running_id from user_dispose_flow where user_id=本人的ID) a
where d.flow_step_id=1 and d.running_id = a.running_id and d.running_id=r.running_id and d.user_id = u.user_id