一分*最新官网邀请码55519996

导师29313607官方码25888888王纸hct97点comSELECT P.T_PROJECT_NUM, P.Phd_ProjectName, P.M_PRODUCT_NUM, P.M_PRODUCT_DESC, P.T_INVENTORY_ITEM_CODE
, P.T_ITEM_DESCRIPTION, P.T_PRIMARY_UNIT_OF_MEASURE, SUM(P.T_PRIMARY_QUANTITY) AS MaterialCount
FROM (
SELECT T_PROJECT_NUM, Phd_ProjectName, M_PRODUCT_NUM, M_PRODUCT_DESC, T_INVENTORY_ITEM_CODE
, T_ITEM_DESCRIPTION, T_PRIMARY_UNIT_OF_MEASURE, T_PRIMARY_QUANTITY
FROM ERP_INV_InquiryMtlTransaction
LEFT JOIN BP_MDM_Material ON T_INVENTORY_ITEM_CODE = M_MATERIAL_CODE
LEFT JOIN T_ProjectHisDoc
ON (Phd_ProjectNumber = T_PROJECT_NUM
OR Phd_ProjectNumber15 = T_PROJECT_NUM)
) P
GROUP BY P.T_PROJECT_NUM, P.Phd_ProjectName, P.M_PRODUCT_NUM, P.M_PRODUCT_DESC, P.T_INVENTORY_ITEM_CODE, P.T_ITEM_DESCRIPTION, P.T_PRIMARY_UNIT_OF_MEASURE

上一篇:6.824分布式系统[3]-主从复制


下一篇:谁能给我个一分*最高的官方邀请码55519996