Basta remover o
AS
palavra-chave select
P.carrier_id,
O.order_id,
O.aircraft_id,
O.quantity
from
orderline O
inner join purchaseorder P
on O.order_id = P.carrier_id;
AS
palavra-chave select
P.carrier_id,
O.order_id,
O.aircraft_id,
O.quantity
from
orderline O
inner join purchaseorder P
on O.order_id = P.carrier_id;