home / shop

product_variants

Price variants/sizes for each product

8 rows where product_id = "8j5nk5odiq"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
9597 Pompeii 8j5nk5odiq 450.0 10 stem 1
9598 Pompeii 8j5nk5odiq 45.0 1 stems 2
9599 Pompeii 8j5nk5odiq 670.0 15 stems 3
9600 Pompeii 8j5nk5odiq 880.0 20 stems 4
9601 Pompeii 8j5nk5odiq 1110.0 25 stems 5
9602 Pompeii 8j5nk5odiq 1330.0 30 stems 6
9603 Pompeii 8j5nk5odiq 1500.0 40 stems 7
9604 Pompeii 8j5nk5odiq 2200.0 50 stems 8

Advanced export

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

CSV options:

CREATE TABLE product_variants (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    product_id TEXT NOT NULL,
    price REAL,
    description TEXT,
    sort_order INTEGER,
    FOREIGN KEY (product_id) REFERENCES products(id),
    UNIQUE(product_id, sort_order)
);
Powered by Datasette · Queries took 6.159ms