数据倒入
truncate
update agri_news_show a set a.type_id=(select type from agri_news b where a.newsid=b.id)
博客介绍了数据导入相关内容,还给出了SQL语句示例,包括truncate操作以及使用update语句更新agri_news_show表中type_id字段,通过子查询从agri_news表获取对应数据。
数据倒入
truncate
update agri_news_show a set a.type_id=(select type from agri_news b where a.newsid=b.id)
2679
6025

被折叠的 条评论
为什么被折叠?