Suppose, I have a table that looks like this:
+----+-----------+------+-------+--+
| id | Part | Seq | Model | |
+----+-----------+------+-------+--+
| 1 | Head | 0 | 3 | |
| 2 | Neck | 1 | 3 | |
| 3 | Shoulders | 11 | 3 | |
| 4 | Groin | 2 | 3 | |
| 5 | Stomach | 5 | 3 | |
+----+-----------+------+-------+--+
As you can see the Seq field is the order these items will display on the front end. Here is the Seq 0, 1, 2, 5, 11. Now the user wants to reorder the list. If they want Stomach (id: 5) to have seq: 0
how would I write a query to update all the Seq values for only Model 3?