Problem Description

Create spend_bucket as LOW (20000) using CASE on total spend.

Input Format

SQL query

Output Format

Result set

Sample Test Case

Input:
Orders(customer_id, total_amount)
Output:
Customer + bucket

Constraints

Use CASE and SUM

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next