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
2850 Freedom 11gvqd80fx 45.0 Each Rose 1
2851 Freedom 11gvqd80fx 450.0 10 Roses 2
2852 Freedom 11gvqd80fx 540.0 12 Roses 3
2853 Freedom 11gvqd80fx 670.0 15 Roses 4
2854 Freedom 11gvqd80fx 880.0 20 Roses 5
2855 Freedom 11gvqd80fx 1330.0 30 Roses 6
2856 Freedom 11gvqd80fx 1770.0 40 Roses 7
2857 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 9.541ms