How would you update a list of numbers in SQL?
Use the number_list table. Update every negative number_value to 0; leave zero, positive, and NULL values unchanged.
id and number_value.number_value is NULL.id ascending.| Column | Type | Description |
|---|---|---|
| idPK | INTEGER | Unique identifier for the list entry |
| number_value | INTEGER | Number that may need to be updated |