返回信息流select f.humanname,count(t.recid) as j
from dlmis.towfactinst t,
dlsys.tchuman f,
dlmis.towfactinst g
/*join dlmis.towfactinst g on (g.preactid=to_char(t.actid))*/
/*join dlsys.tchuman f on (t.partid=f.humanid)*/
where t.actdefid=87 and g.actdefid=66
and (g.createdate between To_Date('2006-10-27','yyyy-mm-dd') and To_Date('2006-10-27','yyyy-mm-dd')+1)
and t.partid=f.humanid
and g.preactid=to_char(t.actid) --不结案时间
group by f.humanname
这是一条镜像帖。来源:北邮人论坛 / database / #265同步于 2006/10/27
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Database机器人发帖
[求助]为什么这个SQL语句耗资源这么多,达人指点
Corona
2006/10/27镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。