You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UPDATE with an uncorrelated scalar or EXISTS subquery sees rows the statement already changed #3145
alasql('CREATE TABLE s (b INT); INSERT INTO s VALUES (1),(2),(3),(4)');alasql('UPDATE s SET b = 10 WHERE b >= (SELECT MAX(b) FROM s) - 2');alasql('SELECT COLUMN b FROM s');alasql('CREATE TABLE e (b INT); INSERT INTO e VALUES (1),(2),(3)');alasql('UPDATE e SET b = 0 WHERE EXISTS (SELECT 1 FROM e WHERE b = 1)');alasql('SELECT COLUMN b FROM e');
Activity