product_categories
4 rows where product_id = "v8uap62bm2"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| v8uap62bm2,19 | Snowball Bukett v8uap62bm2 | Buketter 19 |
| v8uap62bm2,54 | Snowball Bukett v8uap62bm2 | Snittblomster 54 |
| v8uap62bm2,72 | Snowball Bukett v8uap62bm2 | Vinter 72 |
| v8uap62bm2,93 | Snowball Bukett v8uap62bm2 | 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)
);