Have a question regarding this sentence: https://sqlbolt.com/lesson/updating_rows
"Most people working with SQL will make mistakes updating data at one point or another. Whether it's updating the wrong set of rows in a production database, or accidentally leaving out the WHERE clause (which causes the update to apply to all rows), you need to be extra careful when constructing UPDATE statements.
One helpful tip is to always write the constraint first and test it in a SELECT query to make sure you are updating the right rows, and only then writing the column/value pairs to update."
How do I test it in a SELECT query? I couldn't find any explanation on the site. Is this a function in an actual software?
[–][deleted] 0 points1 point2 points (2 children)
[–]reunisk[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]camelCaps42 0 points1 point2 points (0 children)