//拼接pCode做整个库  
 select group_concat(pCode) from product_sku_copy1 where pCode in (select pCode from product_sku_test where stock>0);

group_concat有个坑,就是这个函数已经设置最大能返回的字符串;就是你再设置字段怎么大都没有作用!

GROUP_CONCAT逗号拼接字符串

相关文章:

  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-11-29
  • 2021-11-10
相关资源
相似解决方案