product_variants
4 rows where product_id = "dzh0oyd3xl"
This data as json, CSV (advanced)
| id ▼ | product_id | price | description | sort_order |
|---|---|---|---|---|
| 601 | Lys nasjonaldag dzh0oyd3xl | 350.0 | Som vist | 1 |
| 602 | Lys nasjonaldag dzh0oyd3xl | 550.0 | Medium | 2 |
| 603 | Lys nasjonaldag dzh0oyd3xl | 680.0 | Large | 3 |
| 604 | Lys nasjonaldag dzh0oyd3xl | 990.0 | XL | 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)
);