Query CSV with SQL

Use the tool on this page to write SQL to query CSV data

Step 1: Choose Your Input Method

Drag and drop your file or

Field Separator Options:

Line Options:

Other Options:

Step 2: Generate Output

Field Separator:

Generate CSV via Output Options:

See Output Options above for help with writing SQL
Note - Column names are case-sensitive. Table name is ?. INTO CSV() produces CSV, JSON is produced without it.
SQL documentation available at AlaSQL.org

Or write your own SQL below

Output Table: