下面是我的 SQL 以及上面的错误。我不知道问题是什么了。我已经尝试了很多。有人可以帮忙吗?
错误:生成的 SELECT 语句语法错误:在列别名或“*”之后需要“,”或“FROM” 要将这些组件添加到数据集,请单击“完成”。
SELECT ALCIE.POLINE.DISTDIV
, ALCIE.POLINE.DISTDEPT
, ALCIE.POLINE.DISTGL
, ALCIE.POLINE.LINENO
, ALCIE.POLINE.ITEM
, ALCIE.POLINE.ITEMDES1
, ALCIE.POLINE.ITEMDES2
, ALCIE.POLINE.PO
, ALCIE.POLINE.PODATE
, ALCIE.POLINE.PURCHUOM
, ALCIE.POLINE.QTYORD
, ALCIE.POLINE.CUMQTYREC
, ALCIE.POLINE.UNITCOST
, ALCIE.POLINE.CUMQTYREC * ALCIE.POLINE.UNITCOST AS EXPR1
, ALCIE.POLINE.RECDATE
, ALCIE.POLINE.VENDOR
, ALCIE.APMASTER.NAME1
, ALCIE.POLINE.STATUS
, ALCIE.POHEADER.STATUS AS EXPR2
, ALCIE.POLINE.STKLOC
, ALCIE.POLINE.LAST_REC_USERID
, ALCIE.POLINE.ITEMDES3
, 'ALCIE_POLINE.PO' || 'ALCIE_POLINE.LINENO' AS EXPR3
, ALCIE.POHEADER.COMMENTS4
FROM ALCIE.POLINE, ALCIE.POHEADER, ALCIE.APMASTER
WHERE ALCIE.POLINE.CO = ALCIE.POHEADER.CO
AND ALCIE.POLINE.PO = ALCIE.POHEADER.PO
AND ALCIE.POHEADER.CO = ALCIE.APMASTER.CO
AND ALCIE.POHEADER.VENDOR = ALCIE.APMASTER.VENDOR
AND (ALCIE.POLINE.CO = 'WSA')
AND (ALCIE.POLINE.PO = :EnterPoNumber)
ORDER BY ALCIE.POLINE.ITEMDES1, ALCIE.POLINE.PO