Hacker News new | ask | show | jobs
by 7steps2much 1592 days ago
Depending on what database server you are on you might not he constrained to just SQL.

Now, PSQL isn't exactly all that friendly of a language either, but it does you to somewhat break stuff up into functions and reuse code across different SQL statements.