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

Maybe the WITH statement and CTEs can help you, if I understood correctly your complaint.

Check the example at the beginning of https://www.postgresql.org/docs/13/queries-with.html




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

Search: