product_categories
6 rows where product_id = "i1m1togbp4"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| i1m1togbp4,23 | A Classic Romantic i1m1togbp4 | Mothers Day 23 |
| i1m1togbp4,34 | A Classic Romantic i1m1togbp4 | Other Decoration 34 |
| i1m1togbp4,39 | A Classic Romantic i1m1togbp4 | Red 39 |
| i1m1togbp4,56 | A Classic Romantic i1m1togbp4 | Purple 56 |
| i1m1togbp4,97 | A Classic Romantic i1m1togbp4 | Anniversary 97 |
| i1m1togbp4,100 | A Classic Romantic i1m1togbp4 | 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)
);