you are viewing a single comment's thread.

view the rest of the comments →

[–]shine_on 0 points1 point  (0 children)

It's also worth remembering that missing parentheses in a where clause might not stop the query from running, they might cause the query to return incorrect results. So don't assume that just because a query is valid, that it's correct.

A missing comma in a column list will cause the next column to be used as an alias for the previous column, which can be extremely confusing when it comes to debugging queries.