News for hackers. Stuff that matters.
Re:SQL: One of the most valuable skills by da_chicken on Wednesday February 13, 2019 @10:56AM (#19153956)
> 'With'-clauses (aka Common Table Expressions) allows you to name and compose subqueries much more cleanly.

These are great, but their implementation varies pretty significantly. Notably, MySQL didn't have them at all until v8.0, and PostgreSQL's CTEs are... wonky, for lack of a better term (I believe they use an "evaluate and store" method that's closer to a temp table, and as a result they don't optimize well and have been known to have strange side effects). Not all RDBMSs support recursive CTEs, either.

There are no comments on this comment yet.