I have two jsonb columns(keys,values).
Eg: keys colum value = ["key1","key2","key3","key4"]
values column = ["val1","val2","val3","val4"]
I want to write a select query to get the output as below based on the array index.
{"key1":"val1","key2":"val2","key3":"val3","key4":"val4"}