2 ms·
In theory, both forms should get optimized similarly by the DB, but the practice will likely differ from database to database, and maybe even from DB version to
by virgilp 6y ago
In theory, both forms should get optimized similarly by the DB, but the practice will likely differ from database to database, and maybe even from DB version to DB version.
There are though things that CTEs can do and sub-selects can't (e.g. WITH RECURSIVE)
- morrbo 6y agoDidn't know about WITH RECURSIVE, very cool - thanks