所以我有一个问题:
SELECT L_KEY ,' ' E_DATE FROM (
SELECT
--/*+PARALLEL(16)*/
A.* ,
CASE
WHEN LEAD(E_DATE) OVER (PARTITION BY L_KEY ORDER BY E_DATE) IS NULL
THEN 'Y'
ELSE 'N'
END FLAG_CR
FROM (SELECT *
FROM A1
WHERE 1=1
AND A1.PART = '20200909' )A1
)A WHERE FLAG_CR = 'Y'
)A
LEFT OUTER JOIN (SELECT ID, CON_KEY L_KEY,
REGEXP_REPLACE(ID,'^([^.]+.[^.]+).*$',"$1") LINES_ID,
REGEXP_EXTRACT(ID,'^(?:[^*]*\\*){3}([^*]*)',1) TYPE, E_DATE
FROM (SELECT *
FROM BR
WHERE 1=1
AND BR.PART = '20200909' )BR) B
ON A.L_KEY = B.L_KEY
当我运行这个查询时,它复制到4。这个案子出了什么问题?
这是因为电子战的影响吗?如何正确引导案例?
如有任何帮助或想法,我们将不胜感激。谢谢你的时间!
暂无答案!
目前还没有任何答案,快来回答吧!