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
308 Exotic Orange vujgc925ye 315.0 Small - 7 Roses 1
309 Exotic Orange vujgc925ye 540.0 Regular - 12 Roses 2
310 Exotic Orange vujgc925ye 670.0 15 roses 3
311 Exotic Orange vujgc925ye 880.0 20 Roses 4
312 Exotic Orange vujgc925ye 1330.0 30 Roses 5
313 Exotic Orange vujgc925ye 2200.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 7.664ms