Postgresql – Display the (distinct) keys from a JSONB column that matches certain condition(s)
I have a PostgreSQL 12.x database. There is a column data in a table typename that contains jsonb values. The actual JSON data is not fixed to a particular structure; these are some examples: {"emt": {"key": " ", "source": "INPUT"},…