Task: Increment/Decrement a Value in SQLite Without Reading It First
Task: Increment/Decrement a Value in SQLite Without Reading It First: a task in Terminal-Lego-15k (Harbor dataset). Demonstrate how to increase or decrease a numeric column value in an SQLite table by a certain number directly in a single SQL statement, without first reading the current value and…
The task
Demonstrate how to increase or decrease a numeric column value in an SQLite table by a certain number directly in a single SQL statement, without first reading the current value and then updating it separately.
Part of PrimeIntellect/Terminal-Lego-15k.