mysql 字段值逗号分割后sql匹配

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/huang_sheng0527/article/details/77836359
AND find_in_set('311', labelid)
 
 
将多行查询结果插入第三张表

INSERT into fh_img(src) SELECT pic from fh_housing_info

用多行查询结果更新第三张表

UPDATE fh_housing_info INNER JOIN fh_img ON fh_housing_info.id=fh_img.id SET pic = AES_ENCRYPT(fh_img.src,'hengyang')

猜你喜欢

转载自blog.csdn.net/huang_sheng0527/article/details/77836359