home / shop

product_variants

Price variants/sizes for each product

8 rows where product_id = "1w558kf6jn"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
289 Esperance 1w558kf6jn 45.0 each 1
290 Esperance 1w558kf6jn 450.0 10 stems 2
291 Esperance 1w558kf6jn 670.0 15 stems 3
292 Esperance 1w558kf6jn 880.0 20 stems 4
293 Esperance 1w558kf6jn 1110.0 25 stems 5
294 Esperance 1w558kf6jn 1330.0 30 stems 6
295 Esperance 1w558kf6jn 1770.0 40 stems 7
296 Esperance 1w558kf6jn 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 8.623ms