PostgreSQL - JSON and JSONB
Given the table
products with a json column details, what will be the result of this query?INSERT INTO products (details) VALUES ('{"color": "red", "size": "M"}');
SELECT details->>'color' FROM products WHERE details->>'size' = 'M';