I'm trying to see how to reference column names when using alasql from the command line, when there's no header in the file?
I've tried a few different options with no luck.
e.g
$ alasql 'SELECT a[1] FROM TAB(?) as a' data.csv
$ alasql 'SELECT [1] FROM TAB(?) as a' data.csv
but they all give me an empty result set, like so:
[
{},
{},
{}
]