product_categories
4 rows where product_id = "coma1ntcls"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| coma1ntcls,42 | Sunny Peach coma1ntcls | Orange 42 |
| coma1ntcls,51 | Sunny Peach coma1ntcls | Bouquets 51 |
| coma1ntcls,53 | Sunny Peach coma1ntcls | Spring 53 |
| coma1ntcls,95 | Sunny Peach coma1ntcls | Multicolor 95 |
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)
);