product_variants
4 rows where product_id = "531r0t1qw5"
This data as json, CSV (advanced)
| id ▼ | product_id | price | description | sort_order |
|---|---|---|---|---|
| 965 | Seasonal Bouquet 531r0t1qw5 | 450.0 | Medium without vase | 1 |
| 966 | Seasonal Bouquet 531r0t1qw5 | 599.0 | Medium incl vase | 2 |
| 967 | Seasonal Bouquet 531r0t1qw5 | 750.0 | Large without Vase | 3 |
| 968 | Seasonal Bouquet 531r0t1qw5 | 999.0 | Large incl vase | 4 |
Advanced export
JSON shape: default, array, newline-delimited, object
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)
);