#234 Total Payments by Shop
Write a query that displays the total payment amount for each shop if the total is greater than 1000:
id | shopId | amount | date
1 shop1 1000.00 2023.01.01 15:17:01
2 shop2 700.00 2023.01.01 15:13:02
3 shop2 330.00 2023.01.01 15:10:03
4 ...
Question review
Sign in to start the dialogue
The mentor keeps the context of the current question and your previous messages.
Sign in
Available with Premium
This is just one of the solutions available with Premium. And more:
- 250+ advanced lectures
- 1300+ practice exercises
- 500+ solutions to problems from real interviews
- Personalized Java Hub certificates
- Expanded access to the AI mentor