UPDATE changes values in rows that already exist: SET says what changes, WHERE says in which rows. Alex earns a badge:
↗️
Loading editor...
↶
↷
The WHERE works exactly like in a SELECT. Now watch what happens without it:
↗️
Loading editor...
↶
↷
The missing WHERE
Every trainer lost their badges. An UPDATE without WHERE touches every row of the table, silently. Here the sandbox resets; in a real database there is no undo button.