product_categories
6 rows where product_id = "ckvjcljiur"
This data as json, CSV (advanced)
| Link | product_id | category_id |
|---|---|---|
| ckvjcljiur,1 | Deep Purple and White ckvjcljiur | Birthday 1 |
| ckvjcljiur,10 | Deep Purple and White ckvjcljiur | Baby 10 |
| ckvjcljiur,19 | Deep Purple and White ckvjcljiur | Buketter 19 |
| ckvjcljiur,51 | Deep Purple and White ckvjcljiur | Bouquets 51 |
| ckvjcljiur,56 | Deep Purple and White ckvjcljiur | Purple 56 |
| ckvjcljiur,101 | Deep Purple and White ckvjcljiur | Lilla 101 |
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)
);