By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version() |
---|
8.0.36 |
Records: 7 Duplicates: 0 Warnings: 0
ath_id | SUMEARN | AVGEARN |
---|---|---|
1 | 1000 | 250.0000 |
2 | 10 | 10.0000 |
3 | 8000 | 4000.0000 |
Invalid use of group function