I have a table data like below :
Expected Result :
Query I am trying :
select Id, string_to_array(element_X::text,',')::int[] from table;
But its giving in a curly braces ( I understand, its just an array ). Is it possible to display it in a square bracket.
Result as of now :
Is it possible to display like that


