He complains about the oi qualifier:
SELECT oi.order_id, product_jd, order_date ^^^
Oracle does not allow classifiers in conjunction with a using connection. The clearest way out is to use a regular join:
SELECT oi.order_id, product_jd, order_date FROM order_items oi JOIN orders o ON o.order_id = oi.order_id
You can also omit the qualifier. The using statement tells Oracle that although there are two fields named order_id , they are both equal:
SELECT order_id, product_jd, order_date FROM order_items oi JOIN orders o USING(order_id)
source share