product_categories
6 rows where product_id = "einpvt8te9"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| einpvt8te9,9 | Pink`n`Love Tulips einpvt8te9 | Homepage Specials 9 |
| einpvt8te9,23 | Pink`n`Love Tulips einpvt8te9 | Mothers Day 23 |
| einpvt8te9,51 | Pink`n`Love Tulips einpvt8te9 | Bouquets 51 |
| einpvt8te9,60 | Pink`n`Love Tulips einpvt8te9 | Winter 60 |
| einpvt8te9,63 | Pink`n`Love Tulips einpvt8te9 | Fresh Cut Flowers 63 |
| einpvt8te9,99 | Pink`n`Love Tulips einpvt8te9 | Pink 99 |
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)
);