我在 SQL Server 中为 Select 做了一个声明
SELECT Oid AS 'Order ID',
Eid AS 'Employee ID',
Barcode,
PacksQty AS 'Pack Quantity',
UnitQty AS 'Units Quantity',
Date AS 'Order Date',
Price AS 'Total Price'
FROM OrderDetails
INNER JOIN Orders
ON OrderDetails.Oid = Orders.Oid
并且选择Oid的错误和错误是“Ambiguous column name 'Oid'”