select (regexp_split_to_array ('11--22-333---5555','-+')::int[])[2];
select (array[1, 3, 4]::int[])[2];

postgresql根据下标,获取数组的值

 

 

postgresql根据下标,获取数组的值

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-12-04
  • 2021-10-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
相关资源
相似解决方案