Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tremon
on Feb 13, 2019
|
parent
|
context
|
favorite
| on:
SQL: One of the most valuable skills
No, CTEs do not have local scope, at least not like variables. CTEs are statement-scoped; no matter how many SQL statements you have in your current scope, your CTE vanishes after the first statement terminates.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: