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

AlaSQL supports UPDATE statement.

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%"');

See also: DELETE, INSERT

Clone this wiki locally