Files
sqlpage--sqlpage/tests/upload_csv_test.sql
2023-11-27 23:13:56 +01:00

5 lines
212 B
SQL

create table people(name text, age text);
copy people(name, age) from 'people_file' with (format csv, header true);
select 'text' as component,
name || ' is ' || age || ' years old. ' as contents
from people;