product_categories
5 rows where product_id = "jzmptnzj9m"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| jzmptnzj9m,6 | Rose Lush Box jzmptnzj9m | Blomster i en boks 6 |
| jzmptnzj9m,24 | Rose Lush Box jzmptnzj9m | Morsdag 24 |
| jzmptnzj9m,37 | Rose Lush Box jzmptnzj9m | Valentines 37 |
| jzmptnzj9m,92 | Rose Lush Box jzmptnzj9m | Flerfarget 92 |
| jzmptnzj9m,94 | Rose Lush Box jzmptnzj9m | Rosa 94 |
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)
);