product_categories
7 rows where product_id = "x4fj3as083"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| x4fj3as083,18 | White Delight x4fj3as083 | White 18 |
| x4fj3as083,23 | White Delight x4fj3as083 | Mothers Day 23 |
| x4fj3as083,45 | White Delight x4fj3as083 | Sympathy Bouquet 45 |
| x4fj3as083,51 | White Delight x4fj3as083 | Bouquets 51 |
| x4fj3as083,70 | White Delight x4fj3as083 | Kondolanse 70 |
| x4fj3as083,74 | White Delight x4fj3as083 | Best Sellers 74 |
| x4fj3as083,97 | White Delight x4fj3as083 | Anniversary 97 |
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)
);