product_categories
8 rows where product_id = "3xhusnhc0y"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| 3xhusnhc0y,16 | White Peony 3xhusnhc0y | Summer 16 |
| 3xhusnhc0y,18 | White Peony 3xhusnhc0y | White 18 |
| 3xhusnhc0y,29 | White Peony 3xhusnhc0y | Sommer 29 |
| 3xhusnhc0y,53 | White Peony 3xhusnhc0y | Spring 53 |
| 3xhusnhc0y,54 | White Peony 3xhusnhc0y | Snittblomster 54 |
| 3xhusnhc0y,63 | White Peony 3xhusnhc0y | Fresh Cut Flowers 63 |
| 3xhusnhc0y,83 | White Peony 3xhusnhc0y | Var 83 |
| 3xhusnhc0y,93 | White Peony 3xhusnhc0y | Hvit 93 |
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)
);