db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

first_value

first_value(x) takes x from the first row of the window frame.

task

For every order's first line (line_no = 1), return order_id and the unit_cents of the first line of that customer's first-ever order (ties by order_id).

hints