SQL Oracle LEFT JOIN and SUBQUERY error: ORA-00905: missing keyword

In Oracle we don’t include the AS when declaring a table alias. Instead of

    ) AS TABLE_RESOLVERS 

write

   ) TABLE_RESOLVERS 

This is one example when Oracle syntax is more restrictive than some other flavours of SQL. It is also inconsistent with the declaration of column aliases, which is unfortunate but almost certainly it’s too complex to change this far down the road.

Leave a Comment