select distinct B.F_StdNo,B.F_BeginTime,B.F_EndTime,B.F_CarNo,B.F_ProName,B.F_Gross,B.F_Tare,B.F_Net,B.F_UnitTo,B.F_opManTare,B.F_Memo,B.F_ScaleNameGross from {1} B where not exists (select * from {2} A where A.DH=B.F_StdNo) AND B.F_EndTime IS NOT NULL
转载于:https://www.cnblogs.com/AboutYou/p/3863967.html