sql
一只野生coder
这个作者很懒,什么都没留下…
展开
-
主表字典id拼接,关联查询字典名称
FIND_IN_SET(d.dict_value, i.information_tag)原创 2023-10-13 15:49:01 · 111 阅读 · 0 评论 -
mysql通过查询结果插入表数据
insert into sys_user_post (user_id,post_id) select q3.user_id,q2.post_id from apost_excel q1 LEFT JOIN sys_post q2 on q1.post_name=q2.post_name LEFT JOIN sys_user q3 on q1.user_name=q3.nick_name where q3.user_id is not null原创 2023-10-13 15:52:47 · 173 阅读 · 0 评论