SELECT customer.first_name,
customer.last_name,
orders.order_number
FROM customer
FULL OUTER JOIN orders ON customer.id = orders.customerid
ORDER BY customer.last_name;
答案 0 :(得分:-1)
从客户处选择customer.first_name,customer.last_name,orders.order_number customer.id = orders.customerid ORDER by customer.last_name;
的完整外连接订单此查询没有错,只需检查您的列名称