PostgreSQL - JSON and JSONB
Given a table
orders with a JSON column details containing {"item":"book","qty":3}, what will this query return?SELECT details->>'item' FROM orders WHERE details->>'qty' = '3';