我有两个表使用获取数据的这个查询inner join
,但我得到的错误SQL command not properly ended
与下一个星号“是”:
select P.carrier_id, O.order_id, O.aircraft_id, O.quantity
from orderline AS O
inner join purchaseorder AS P
on O.order_id = P.carrier_id;
the error:
from orderline AS O ( with an asterix under AS)
Error at line 2
Ora-00933: SQL command not properly ended.
在关于这一点,我认为, AS
不会是一个问题,因为它只是引用的别名,但我很困惑,为什么这就要到了。