product_categories
4 rows where product_id = "yns8cm1ne4"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| yns8cm1ne4,25 | White Wonder yns8cm1ne4 | Brides Maid 25 |
| yns8cm1ne4,26 | White Wonder yns8cm1ne4 | Bridal Bouquets 26 |
| yns8cm1ne4,41 | White Wonder yns8cm1ne4 | Brudepikene 41 |
| yns8cm1ne4,87 | White Wonder yns8cm1ne4 | Brudebuketter 87 |
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)
);