Usage
Table functions can be used in theFROM
clause of a SELECT query. For example, you can SELECT data from a file on your local
machine using the file table function.
Query
Response
Query
Response
Query
Query
Response
INSERT data into a table. For example,
we could write out the contents of the table we created in the previous example
to a file on disk using the file table function again:
Query
Query
Most table functions need the
CREATE TEMPORARY TABLE privilege to run, so a SELECT or INSERT
that executes one is refused when
readonly is set to 1.