product_categories
5 rows where product_id = "4bbi9a4w1e"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| 4bbi9a4w1e,11 | Red delight 4bbi9a4w1e | Romance 11 |
| 4bbi9a4w1e,39 | Red delight 4bbi9a4w1e | Red 39 |
| 4bbi9a4w1e,67 | Red delight 4bbi9a4w1e | Valentines Day 67 |
| 4bbi9a4w1e,74 | Red delight 4bbi9a4w1e | Best Sellers 74 |
| 4bbi9a4w1e,97 | Red delight 4bbi9a4w1e | 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)
);