Y
Hacker News
new
|
ask
|
show
|
jobs
by
wvenable
1239 days ago
I'm forgiving on the authors point here. If you have JOINs and subqueries, you're just doing a SELECT to get data that can only be UPDATEd/INSERTed on a single table. You can't do an INSERT across 5 tables in one statement.
2 comments
mkleczek
1239 days ago
You can in PostgreSQL and it is very useful:
https://www.postgresql.org/docs/current/queries-with.html#QU...
link
jamwt
1239 days ago
Article author here, yep, that was the intended point. Agree the wording was unclear, and there's a footnote now clarifying that. Thanks!
link
wvenable
1239 days ago
One could argue that one statement vs. many statements isn't particularly important and as long as you have transactions.
link