我有这个查询:
select carrier_id, order_id,aircraft_id,quantity
from orderline
innerjoin purchaseorder on orderline.order_id = purchaseorder.carrier_id;
我得到了模棱两可的错误,我知道我必须使用别名,但它不起作用,即:
select carrier_id as cID, order_id as OID,aircraft_id,quantity
from orderline
innerjoin purchaseorder on orderline.order_id as OID = purchaseorder.carrier_id as cID
它说无效的关系运算符?
谢谢你们的帮助:)