product_categories
6 rows where product_id = "y07t887efk"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| y07t887efk,30 | Seasonal Basket y07t887efk | Floral Arrangements 30 |
| y07t887efk,42 | Seasonal Basket y07t887efk | Orange 42 |
| y07t887efk,44 | Seasonal Basket y07t887efk | Seasonal baskets 44 |
| y07t887efk,79 | Seasonal Basket y07t887efk | Oransj 79 |
| y07t887efk,82 | Seasonal Basket y07t887efk | Decoration 82 |
| y07t887efk,95 | Seasonal Basket y07t887efk | Multicolor 95 |
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)
);