Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wvenable
· 3y ago · 0 comments
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.
Comments
[–]
mkleczek
3y ago
You can in PostgreSQL and it is very useful:
https://www.postgresql.org/docs/current/queries-with.html#QU...
[–]
jamwt
3y ago
Article author here, yep, that was the intended point. Agree the wording was unclear, and there's a footnote now clarifying that. Thanks!
[–]
wvenable
OP
3y ago
One could argue that one statement vs. many statements isn't particularly important and as long as you have transactions.