For example I have the next query:
SELECT COALESCE(
jsonb_path_query_first('{"a": null, "b": "bb"}', '$.a'),
jsonb_path_query_first('{"a": null, "b": "bb"}', '$.b')
) AS value;
it return null
although I use COALESCE.
How can I return in the case bb
as the path $.a
return null?
Thanks