home / shop

product_categories

Many-to-many link between products and categories

11 rows where product_id = "9o946e3pff"

✎ View and edit SQL

This data as json, CSV (advanced)

Link product_id category_id
9o946e3pff,6 Pink Sand 9o946e3pff Blomster i en boks 6
9o946e3pff,11 Pink Sand 9o946e3pff Romance 11
9o946e3pff,18 Pink Sand 9o946e3pff White 18
9o946e3pff,23 Pink Sand 9o946e3pff Mothers Day 23
9o946e3pff,24 Pink Sand 9o946e3pff Morsdag 24
9o946e3pff,34 Pink Sand 9o946e3pff Other Decoration 34
9o946e3pff,40 Pink Sand 9o946e3pff Romanse 40
9o946e3pff,94 Pink Sand 9o946e3pff Rosa 94
9o946e3pff,97 Pink Sand 9o946e3pff Anniversary 97
9o946e3pff,99 Pink Sand 9o946e3pff Pink 99
9o946e3pff,100 Pink Sand 9o946e3pff Flowers in a box 100

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 5.743ms