Hacker News new | past | comments | ask | show | jobs | submit login

It sounds like you should research window functions: https://www.postgresql.org/docs/12/tutorial-window.html





Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: