一张票可以检景点好几个
例如 票A 可检票景点(1111,2222,3333)根据景点的维度来统计:
check_park_codes 1111,2222,3333
select unnest(string_to_array(check_park_codes , ‘,’ )) from table A;
得到结果:
postgresql列转行

相关文章:

  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-08-11
  • 2021-11-12
  • 2021-07-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案