I have this query of getting data from two tables using an inner join, but I get the error SQL command not properly ended with an asterix under \"a
inner join
SQL command not properly ended
You are not allowed to insert keyword as between table name and its alias.
as
Just remove the AS keyword
AS
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;