Hacker News new | ask | show | jobs
by spinachsalad 160 days ago
> there’s a test for SELECT SELECT FROM FROM WHERE WHERE AND AND which is completely valid SQL

Is this even true? I tried it in SQLite and there's a syntax error after first SELECT. It would work when "SELECT", "FROM" etc. are quoted, but that's not the same thing.

1 comments

I interpreted it as referring to a table named "FROM" and fields named "SELECT", "WHERE" and "AND".