product_categories
4 rows where product_id = "vkyo2djseg"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| vkyo2djseg,6 | Blooming Heart vkyo2djseg | Blomster i en boks 6 |
| vkyo2djseg,37 | Blooming Heart vkyo2djseg | Valentines 37 |
| vkyo2djseg,40 | Blooming Heart vkyo2djseg | Romanse 40 |
| vkyo2djseg,48 | Blooming Heart vkyo2djseg | Rod 48 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE product_categories (
product_id TEXT NOT NULL,
category_id INTEGER NOT NULL,
PRIMARY KEY (product_id, category_id),
FOREIGN KEY (product_id) REFERENCES products(id),
FOREIGN KEY (category_id) REFERENCES categories(id)
);