Skip to content

Distinct

Andrey Gershun edited this page May 27, 2015 · 4 revisions

DISTINCT

Keyword for SELECT and aggregators.

Syntax:

    SELECT DISTINCT ...
    aggregator (DISTINCT expression)
    SEARCH DISTINCT(selector)

Select distinct values from result array:

    alasql('SELECT DISTINCT MID(Name,1,1) FROM City');

See also: [DISTINCT()][Search Distinct]

Clone this wiki locally