Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: High-Value Transaction Count | Section
Practice
Projects
Quizzes & Challenges
Quizzen
Challenges
/
Mastering CASE WHEN in SQL
Sectie 1. Hoofdstuk 21
single

single

bookChallenge: High-Value Transaction Count

Veeg om het menu te tonen

Taak

Swipe to start coding

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.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 21
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

some-alt