product_categories
6 rows where product_id = "nwuy6q2zuc"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| nwuy6q2zuc,11 | Rose Lush nwuy6q2zuc | Romance 11 |
| nwuy6q2zuc,23 | Rose Lush nwuy6q2zuc | Mothers Day 23 |
| nwuy6q2zuc,67 | Rose Lush nwuy6q2zuc | Valentines Day 67 |
| nwuy6q2zuc,95 | Rose Lush nwuy6q2zuc | Multicolor 95 |
| nwuy6q2zuc,99 | Rose Lush nwuy6q2zuc | Pink 99 |
| nwuy6q2zuc,100 | Rose Lush nwuy6q2zuc | Flowers in a box 100 |
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)
);