home / shop

product_categories

Many-to-many link between products and categories

7 rows where product_id = "bueabxjjil"

✎ View and edit SQL

This data as json, CSV (advanced)

Link product_id category_id
bueabxjjil,6 Spring Break Box bueabxjjil Blomster i en boks 6
bueabxjjil,30 Spring Break Box bueabxjjil Floral Arrangements 30
bueabxjjil,34 Spring Break Box bueabxjjil Other Decoration 34
bueabxjjil,56 Spring Break Box bueabxjjil Purple 56
bueabxjjil,95 Spring Break Box bueabxjjil Multicolor 95
bueabxjjil,100 Spring Break Box bueabxjjil Flowers in a box 100
bueabxjjil,101 Spring Break Box bueabxjjil Lilla 101

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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)
);
Powered by Datasette · Queries took 6.398ms