Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
find the corresponding answer to the following SQL statements in Postgres:
select '{"a":1, "b":2}'::jsonb <@ '{"b":2}'::jsonb;
select '{"a":1,"b":2}'::json->>'b';
select '{"a":1, "b":2}'::jsonb ? 'b';
select '[1,2,3]'::json->2;
select '{"a":1, "b":2}'::jsonb @> '{"b":2}'::jsonb;
select '{"a":[1,2,3],"b":[4,5,6]}'::json#>>'{a,2}';
select '{"a":1,"b":2}'::json->'b';
select '[1,2,3]'::json->>2;
select '{"a":[1,2,3],"b":[4,5,6]}'::json#>'{a,2}';
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!