Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: