product_categories
4 rows where product_id = "fjfzqnt6r3"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| fjfzqnt6r3,18 | White Gerbera Snowfall fjfzqnt6r3 | White 18 |
| fjfzqnt6r3,54 | White Gerbera Snowfall fjfzqnt6r3 | Snittblomster 54 |
| fjfzqnt6r3,63 | White Gerbera Snowfall fjfzqnt6r3 | Fresh Cut Flowers 63 |
| fjfzqnt6r3,93 | White Gerbera Snowfall fjfzqnt6r3 | 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)
);