Skip to content
Andrey Gershun edited this page May 25, 2015 · 10 revisions

AlaSQL supports UPDATE statement with the following syntax:

    UPDATE table SET prop1 = value1, ... WHERE condition

For example:

    alasql('UPDATE cities SET population = population * 1.5 WHERE name LIKE "A%"');
    alasql('UPDATE city SET population = LEN(name) * 1000000 WHERE name LIKE "M%"');
Clone this wiki locally