Remix.run Logo
buro9 7 months ago

UPDATEs should require a WHERE clause too.

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

jaredsohn 7 months ago | parent | next [-]

I think SELECTs without WHERE clauses are fine

marcosdumay 7 months ago | parent [-]

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

ahoka 7 months ago | parent | prev [-]

And queries should start with WHERE.

awestroke 7 months ago | parent [-]

FROM, then WHERE, then SELECT

Jabbles 7 months ago | parent | next [-]

Pipe Syntax In SQL

https://research.google/pubs/sql-has-problems-we-can-fix-the...

https://news.ycombinator.com/item?id=41338877

7 months ago | parent | prev | next [-]
[deleted]
hamandcheese 7 months ago | parent | prev [-]

This is the way.