select c.ID, o.CUSTOMER_ID,c.NAME, o.ID ORDER_ID,ORDER_NUMBER from CUSTOMERS c left outer join ORDERS o on c.ID=o.CUSTOMER_ID;
还有一种左外连接的写法 (+)
select c.ID, o.CUSTOMER_ID,c.NAME, o.ID ORDER_ID,ORDER_NUMBER from CUSTOMERS c left outer join ORDERS o on c.ID=o.CUSTOMER_ID;
还有一种左外连接的写法 (+)