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

In PostgreSQL, a jsonb column data holds {"a": {"b": [1, 2, 3]}}. You query with the SQL/JSON path operator. What does this return?

SELECT data @? '$.a.b[*] ? (@ > 1)' AS found FROM docs;