Postgresql – Remove jsonb_build_object from the output
I am creating a jsonb object using jsonb_build_object in PostgreSQL. The problem is that it adds jsonb_build_object column in the output. Please refer to the screenshot and query below: select jsonb_build_object( 'country_name', country_name, 'country_code', country_code, 'currency_code', currency_code ) from table…