谁能给我个一分快三最高的官方邀请码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
标签:谁能给,PRODUCT,55519996,PRIMARY,Phd,PROJECT,ITEM,NUM,我个 来源: https://www.cnblogs.com/uyii/p/12078705.html