home / shop

product_variants

Price variants/sizes for each product

7 rows where product_id = "qax9e9s7yd"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
1041 Spring Pastel Wreath qax9e9s7yd 1500.0 Small 1
1042 Spring Pastel Wreath qax9e9s7yd 1800.0 As Displayed 2
1043 Spring Pastel Wreath qax9e9s7yd 2000.0 Medium 3
1044 Spring Pastel Wreath qax9e9s7yd 2200.0 Large 4
1045 Spring Pastel Wreath qax9e9s7yd 2500.0 Large+ 5
1046 Spring Pastel Wreath qax9e9s7yd 2800.0 Deluxe 6
1047 Spring Pastel Wreath qax9e9s7yd 3000.0 Deluxe+ 7

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.129ms