-
Notifications
You must be signed in to change notification settings - Fork 688
Into
agershun edited this page Dec 28, 2014
·
8 revisions
Into table
alasql('SELECT * INTO City FROM Capital');
alasql('SELECT * INTO AfrikanCountries FROM Countries WHERE Country = "Afrika"');Into external file (into-functions)
alaslq('SELECT * INTO CSV(‘city.csv’) FROM City');Into stdout (for Node.js):
alasql('SELECT * INTO TXT() FROM City');- TXT()
- JSON()
- CSV()
- TSV() / TAB()
- XLSX()
- HTML()
Example of data format conversion from XLSX to CSV:
alasql('SELECT * INTO CSV("parts.csv") FROM XLSX("parts.xlsx") WHERE Qty > 10');
alasql('SELECT * INTO TXT("cities.txt") FROM cities');© 2014-2026, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo