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

Do you know you can write actual functions in SQL?

Oracle, in particular, has several ways to return table-like objects from functions.

I didn't know that, thanks. I will check it out specifically for postgresql I see - https://www.postgresql.org/docs/9.5/sql-createfunction.html

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