Commit d1867a13 authored by Max Shenfield's avatar Max Shenfield
Browse files

Correct syntax for IMPORT statement in first example.

The IMPORT statement applied invalid syntax IMPORT {identifier} FROM ..., missing the IMPORT TABLE {identifier}.  This popped up the error "unexpected token T_IDENTIFIER: city_temperatures, expected: 'T_TABLE' while executing query".  Corrected the usage.
parent 56b60bac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ where the content looks similar to this:

Download city_temperatures.csv to a folder on your system. Within the same folder create another file called example_query.sql with the following content:

    IMPORT city_temperatures FROM "csv://city_temperatures.csv?headers=true"
    IMPORT TABLE city_temperatures FROM "csv://city_temperatures.csv?headers=true"

    SELECT * FROM city_temperatures;