This commit is contained in:
PastSaid
2024-03-11 14:47:23 +08:00
parent 6dd1816c96
commit 08d8878eef
202 changed files with 274 additions and 246 deletions

View File

@@ -0,0 +1,13 @@
SELECT t.*,t1_l.*
FROM (SELECT
t0.FID
,count(1) co
,t0e.FCPID
FROM hw_mjcpdzb t0
INNER JOIN hw_mjcpdzbs t0e on t0.FID = t0e.FID
GROUP BY
t0.FID,t0e.FCPID
having
count(1) >1) t
inner join hw_mjcpdzb t0 on t.FID = t0.FID
inner join T_BD_MATERIAL_L t1_l on t1_l.FMATERIALID = t0.FMJID