Warning: mssql_query() [function.mssql-query]: message: Column 'codeitem' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause. (severity 16) in D:\AppServ_2556\www\sql20081.php on line 16
Warning: mssql_query() [function.mssql-query]: Query failed in D:\AppServ_2556\www\sql20081.php on line 16
Error Query [SELECT ITEM,ITEMNAME,ITEMDES,BRANCH,LMCATEGORY2,LMCATEGORY3,PRODUCTTYPE,LOT,SUM(QUANTITY) FROM codeitem WHERE COMPANY = '430' AND ITEM = 'BSCDVAIMAR-0179' AND LOT LIKE '%4243#02%' GROUP BY ITEM ]
ประวัติการแก้ไข 2013-05-16 11:59:59
Date :
2013-05-16 11:51:51
By :
nattkhanesha
No. 7
Guest
SELECT ITEM,ITEMNAME,ITEMDES,BRANCH,LMCATEGORY2,LMCATEGORY3,PRODUCTTYPE,LOT,SUM(QUANTITY) FROM codeitem WHERE COMPANY = '430' AND ITEM = 'BSCDVAIMAR-0179' AND LOT LIKE '%4243#02%' GROUP BY ITEM,ITEMNAME,ITEMDES,BRANCH,LMCATEGORY2,LMCATEGORY3,PRODUCTTYPE,LOT