【发布时间】:2018-01-19 09:14:30
【问题描述】:
OleDbConn.ole = "SELECT ProductCode, Description, Quantity, UnitPrice, (Quantity * UnitPrice) ExtendedPrice FROM SalesReturnItem sri INNER JOIN Product p ON p.ProductNo = sri.ProductID WHERE Sri.InvoiceNo = "
+ invoiceNo + " ORDER BY Description ";
每当我执行此查询时,我都会收到以下错误 -
查询表达式 '(Quantity * UnitPrice) ExtendedPrice'。
请帮忙
【问题讨论】:
-
单独展示 SQL 查询。
-
它在下面解决了问题