product_categories
9 rows where product_id = "11gvqd80fx"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| 11gvqd80fx,31 | Freedom 11gvqd80fx | Colombian Roses 31 |
| 11gvqd80fx,37 | Freedom 11gvqd80fx | Valentines 37 |
| 11gvqd80fx,39 | Freedom 11gvqd80fx | Red 39 |
| 11gvqd80fx,48 | Freedom 11gvqd80fx | Rod 48 |
| 11gvqd80fx,50 | Freedom 11gvqd80fx | Colombianske Roser 50 |
| 11gvqd80fx,60 | Freedom 11gvqd80fx | Winter 60 |
| 11gvqd80fx,67 | Freedom 11gvqd80fx | Valentines Day 67 |
| 11gvqd80fx,72 | Freedom 11gvqd80fx | Vinter 72 |
| 11gvqd80fx,90 | Freedom 11gvqd80fx | Roses 90 |
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)
);