PostgreSQL - JSON and JSONB
Which of the following is the correct syntax to extract the JSON value of key 'age' as text from a column named 'data'?
->> with the key as a string literal.data->>'age' correctly with quotes around 'age'. Options C and D miss quotes, causing syntax errors.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions