セクション 1. 章 7
single
Challenge: Orders Without Customers
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a query that uses a RIGHT JOIN to list all orders and their customer names. If an order does not have a matching customer, show NULL for the customer name.
- Select the order ID, order date, and amount from the
orderstable. - Select the customer name from the
customerstable. - Give the alias
customer_name. - Use a RIGHT JOIN to include all orders, even those without a matching customer.
- Show NULL for the customer name if an order does not have a matching customer.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 7
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください