Brand and Whole-Rupee Price
EasyDescription
specs is a JSONB document such as {"brand": "Nova", "ram": "8GB"}. For each product,
show product_name, brand (the brand from specs as text, NULL when there is none) and
price_rupees (the price as an integer).
End your query with ORDER BY product_id.
Tables
| products |
|---|
| product_id (PK) |
| product_name |
| price |
| specs |