セクション 1. 章 24
single
Challenge: Summarize Transaction Status
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a query to count the number of transactions for each status in the transactions table using the CASE statement.
- Count the number of transactions where
statusis'completed'and return this ascompleted_count. - Count the number of transactions where
statusis'pending'and return this aspending_count. - Count the number of transactions where
statusis'failed'and return this asfailed_count.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 24
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください