db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

COPY json

COPY TO can write JSON lines. Write three people to a file and read the file back.

task

Export person_id and full_name of the first 3 people (by person_id) as JSON to /tmp/p.json, then return pg_read_file('/tmp/p.json').

hints