SQLite Forum

When is SELECT ... FROM with no table-or-subquery valid.
Login
You get a syntax error from the parser during prepare. This is what the grammar in src/parse.y shows should happen. The railroad diagram is incorrect and will be fixed in conjunction with the next patch release.