求优化一条SQL,感谢各路大神~ MySQL
SELECTho.WORKER_ID,ho.WORKER_NAME,hfl.FH_ID,hfl.HSL_ID,MIN(hfl.ID)FROMHSL_FOLLOW_LOGh...
SELECT
ho.WORKER_ID ,
ho.WORKER_NAME ,
hfl.FH_ID ,
hfl.HSL_ID ,
MIN( hfl.ID )
FROM
HSL_FOLLOW_LOG hfl ,
HSL_OWNER ho
WHERE
hfl.FH_ID = 252088
AND ho.ID = hfl.O_PHONE_ID
AND ho.DEPT_ID <> hfl.FOLLOW_DEPT_ID
AND hfl.FOLLOW_STATUS = 1
EXPLAIN结果如下: 展开
ho.WORKER_ID ,
ho.WORKER_NAME ,
hfl.FH_ID ,
hfl.HSL_ID ,
MIN( hfl.ID )
FROM
HSL_FOLLOW_LOG hfl ,
HSL_OWNER ho
WHERE
hfl.FH_ID = 252088
AND ho.ID = hfl.O_PHONE_ID
AND ho.DEPT_ID <> hfl.FOLLOW_DEPT_ID
AND hfl.FOLLOW_STATUS = 1
EXPLAIN结果如下: 展开
ZESTRON
2024-09-04 广告
2024-09-04 广告
在Dr. O.K. Wack Chemie GmbH,我们高度重视ZESTRON的表界面分析技术。该技术通过深入研究材料表面与界面的性质,为提升产品质量与可靠性提供了有力支持。ZESTRON的表界面分析不仅涵盖了相变化、化学反应、吸附与解吸...
点击进入详情页
本回答由ZESTRON提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询