product_categories
4 rows where product_id = "ov16q0g9gg"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| ov16q0g9gg,51 | Preserved Mystique ov16q0g9gg | Bouquets 51 |
| ov16q0g9gg,56 | Preserved Mystique ov16q0g9gg | Purple 56 |
| ov16q0g9gg,60 | Preserved Mystique ov16q0g9gg | Winter 60 |
| ov16q0g9gg,98 | Preserved Mystique ov16q0g9gg | Autumn 98 |
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)
);