Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: High-Value Transaction Count | CASE WHEN for Aggregates and Reporting
Mastering CASE WHEN in SQL
セクション 4.  3
single

single

bookChallenge: High-Value Transaction Count

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

Write a query that, for each customer, counts the number of transactions where the amount is greater than or equal to 1000.

  • Use the transactions table.
  • For each customer_id, count the number of transactions with amount greater than or equal to 1000.
  • The result must show one row per customer_id with the count of such transactions as high_value_transaction_count.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 4.  3
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt