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
9109 Freedom 11gvqd80fx 45.0 Each Rose 1
9110 Freedom 11gvqd80fx 450.0 10 Roses 2
9111 Freedom 11gvqd80fx 540.0 12 Roses 3
9112 Freedom 11gvqd80fx 675.0 15 Roses 4
9113 Freedom 11gvqd80fx 900.0 20 Roses 5
9114 Freedom 11gvqd80fx 1350.0 30 Roses 6
9115 Freedom 11gvqd80fx 1800.0 40 Roses 7
9116 Freedom 11gvqd80fx 2250.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.482ms