By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
sqlite_version() |
---|
3.39.1 |
✓
✓
id | amount | name |
---|---|---|
1 | 4 | Michael |
2 | 15 | Bara |
3 | 4 | Michael |
4 | 6 | John |
sum(amount) | name |
---|---|
15 | Bara |
8 | Michael |
sum(amount) | name |
---|---|
6 | John |
sum(amount) | name |
---|---|
15 | Bara |
8 | Michael |
sum(amount) | name |
---|---|
15 | Bara |
8 | Michael |
{ "code": "SQLITE_ERROR" }
sum(amount) | name |
---|---|
6 | John |