product_categories
7 rows where product_id = "2uvxsiebd1"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| 2uvxsiebd1,2 | Red basket special 2uvxsiebd1 | Christmas 2 |
| 2uvxsiebd1,13 | Red basket special 2uvxsiebd1 | Seasonal Product 13 |
| 2uvxsiebd1,39 | Red basket special 2uvxsiebd1 | Red 39 |
| 2uvxsiebd1,60 | Red basket special 2uvxsiebd1 | Winter 60 |
| 2uvxsiebd1,64 | Red basket special 2uvxsiebd1 | Jul 64 |
| 2uvxsiebd1,72 | Red basket special 2uvxsiebd1 | Vinter 72 |
| 2uvxsiebd1,82 | Red basket special 2uvxsiebd1 | Decoration 82 |
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)
);