home / shop

product_variants

Price variants/sizes for each product

8 rows where product_id = "11gvqd80fx"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
354 Freedom 11gvqd80fx 45.0 Each Rose 1
355 Freedom 11gvqd80fx 450.0 10 Roses 2
356 Freedom 11gvqd80fx 540.0 12 Roses 3
357 Freedom 11gvqd80fx 670.0 15 Roses 4
358 Freedom 11gvqd80fx 880.0 20 Roses 5
359 Freedom 11gvqd80fx 1330.0 30 Roses 6
360 Freedom 11gvqd80fx 1770.0 40 Roses 7
361 Freedom 11gvqd80fx 2200.0 50 Roses 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 5.865ms