Open agershun opened 9 years ago
:) The problem was that I sed star in the query. AlaSQL could not find any column name, of course. Now all works fine.
Sample:
-- works fine
var res = alasql('SELECT COLUMN DISTINCT city#country#name AS country\
FROM Person ORDER BY country');
-- does not work
var res = alasql('SELECT COLUMN DISTINCT city#country#name\
FROM Person ORDER BY 1');
error
ReferenceError: alasql is not defined
Can you elaborate on the #
part of the city#country#name
notation?
This sequence
gives error: