IntermediateFinanceSQL+20 XP

Grouped Reporting: amount at least 313

Scenario

You are a data professional working with finance data. Prepare a reliable result from payments for a review.

Question

Group qualifying records by payment_id, add amount in each group, and show the highest total first. Keep values at or above 313.

Intermediate · Record Counting & Average Calculations — question 15 of 20

Finish all 20 to earn a certificate

1. Choose your dataset

Pick an industry and a size. Your code and results change to match.

sql editor
Type your code here ↓
✍️ Tap here to type

Dataset & schema

payments

The tiny starter data. Bigger data scrolls.

Fields

payment_idregionamount
P1North500
P2South200
P3North900
P4East300

Finance practice data only.

attempts: 0
▶ Output terminal
$ Press “Check my answer” — results appear here.

Your next steps

Each item turns green when your answer includes it.

3 left
  • Reads the correct table
  • Applies the threshold
  • Uses the required operation