db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

A foreign key to a table defined later

Inside one CREATE SCHEMA, a table may reference a table that comes after it.

task

One CREATE SCHEMA lab_fk statement creating line(id PK, hdr_id references hdr) before hdr(id PK). Then return conname and the referenced table of every foreign key in lab_fk.

hints