subcategories
2 rows where parent = "AdmRep"
This data as json, CSV (advanced)
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE "subcategories" ( "subcategory" TEXT NOT NULL, "parent" TEXT NOT NULL, FOREIGN KEY("parent") REFERENCES "categories"("name") on update cascade on delete restrict, FOREIGN KEY("subcategory") REFERENCES "categories"("name") on update cascade on delete restrict, PRIMARY KEY("subcategory","parent") );