Something went wrong. Try again.
SQLite file format and SQL engine in pure OCaml
Something went wrong. Try again.
123456-- UPDATE rewrites matching rows in place; the SET RHS may read row columns.CREATE TABLE t (id INTEGER PRIMARY KEY, b INTEGER, c TEXT);INSERT INTO t (id, b, c) VALUES (1, 10, 'x'), (2, 20, 'y'), (3, 30, 'z');UPDATE t SET c = 'Y' WHERE id = 2;UPDATE t SET b = id;