product_categories
6 rows where product_id = "dhpxxulcg4"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| dhpxxulcg4,23 | RoseandOrchid decoration dhpxxulcg4 | Mothers Day 23 |
| dhpxxulcg4,30 | RoseandOrchid decoration dhpxxulcg4 | Floral Arrangements 30 |
| dhpxxulcg4,44 | RoseandOrchid decoration dhpxxulcg4 | Seasonal baskets 44 |
| dhpxxulcg4,82 | RoseandOrchid decoration dhpxxulcg4 | Decoration 82 |
| dhpxxulcg4,95 | RoseandOrchid decoration dhpxxulcg4 | Multicolor 95 |
| dhpxxulcg4,99 | RoseandOrchid decoration dhpxxulcg4 | Pink 99 |
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)
);