Skip to content
Mathias Rangel Wulff edited this page Jun 12, 2015 · 2 revisions

Keyword WHERE

Expression

    var res = alasql('SELECT * FROM City WHERE Population > 1000000');

WHERE EXIST() / NOT EXIST()

    var res = alasql('SELECT * FROM City WHERE \
            EXIST(SELECT * FROM Capital WHERE City.Name = Capital.Name)');
Clone this wiki locally