-2
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;
bummi
  • 27,123
  • 14
  • 62
  • 101
Golam Rabbani
  • 55
  • 1
  • 7

1 Answers1

0

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;

Nothing wrong in this query just check your column name