home / shop

product_variants

Price variants/sizes for each product

5 rows where product_id = "7swhm4exrh"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
943 Royal Red bouquet 7swhm4exrh 675.0 15 Roses 1
944 Royal Red bouquet 7swhm4exrh 900.0 20 Roses 2
945 Royal Red bouquet 7swhm4exrh 1350.0 30 Roses 3
946 Royal Red bouquet 7swhm4exrh 2250.0 50 Roses 4
947 Royal Red bouquet 7swhm4exrh 4399.0 100 Roses 5

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