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

UPDATEs should require a WHERE clause too.

At which point we could just say all SQL should have a WHERE clause.



I think SELECTs without WHERE clauses are fine


But requiring them is fine too. Even more on Postrges, that has booleans.


And queries should start with WHERE.


FROM, then WHERE, then SELECT



This is the way.




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

Search: