ParamNum:2 0-1-DROP TABLE IF EXISTS t1; 0-1-CREATE TABLE t1 (k INT PRIMARY KEY, v INT); 0-1-INSERT INTO t1 VALUES (0, 0); 0-1-INSERT INTO t1 VALUES (1, 0); 0-1-COMMIT; 1-1-begin; 2-1-update t1 set v=1 where k=0; 3-2-begin; 4-2-update t1 set v=1 where k=1; 5-2-update t1 set v=2 where k=0; 6-1-select * from t1 where k=1; 7-1-commit; 8-2-commit; 9-3-SELECT * FROM t1 ORDER BY k; 10-3-COMMIT; serializable { 6-1,0 9-0,2 1,1 6-1,1 9-0,1 1,1 }