AlisdairO / pgexercises

PostgreSQL Exercises web site code
Other
400 stars 62 forks source link

Payback exercise needs some improvement #44

Open AlisdairO opened 6 years ago

AlisdairO commented 6 years ago

This exercise: https://pgexercises.com/questions/aggregates/payback.html

Could use some explanation about why the group by works with the PK and not just all the fields.