db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

Build

jsonb_build_object makes an object. jsonb_agg collects rows into an array, and takes an ORDER BY.

task

Each order as one JSON object {id, lines: [{p, q}]}, lines in line_no order.

hints