Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSQLJSONB queryingSingle-choice MCQ

Given data = '{"a": 1, "b": 2}'::jsonb, what is the result of `data - 'a' || '{"c": 3}'::jsonb`?

SELECT '{"a": 1, "b": 2}'::jsonb - 'a' || '{"c": 3}'::jsonb;