home / shop

product_variants

Price variants/sizes for each product

6 rows where product_id = "vujgc925ye"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
9057 Exotic Orange vujgc925ye 315.0 Small 7 Roses 1
9058 Exotic Orange vujgc925ye 540.0 Regular 12 Roses 2
9059 Exotic Orange vujgc925ye 675.0 15 roses 3
9060 Exotic Orange vujgc925ye 880.0 20 Roses 4
9061 Exotic Orange vujgc925ye 1350.0 30 Roses 5
9062 Exotic Orange vujgc925ye 2250.0 50 Roses 6

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