home / shop

product_categories

Many-to-many link between products and categories

10 rows where product_id = "kx89isd73f"

✎ View and edit SQL

This data as json, CSV (advanced)

Link product_id category_id
kx89isd73f,10 Vendela Cream White kx89isd73f Baby 10
kx89isd73f,18 Vendela Cream White kx89isd73f White 18
kx89isd73f,19 Vendela Cream White kx89isd73f Buketter 19
kx89isd73f,51 Vendela Cream White kx89isd73f Bouquets 51
kx89isd73f,60 Vendela Cream White kx89isd73f Winter 60
kx89isd73f,70 Vendela Cream White kx89isd73f Kondolanse 70
kx89isd73f,73 Vendela Cream White kx89isd73f Sympathy 73
kx89isd73f,80 Vendela Cream White kx89isd73f Kondolanse buketter 80
kx89isd73f,93 Vendela Cream White kx89isd73f Hvit 93
kx89isd73f,97 Vendela Cream White kx89isd73f Anniversary 97

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.762ms