微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

将特定列导入phpmyadmin数据库

我收到了一份excel文档,其中包含有关不同大使馆的信息,他们的联系电话号码等.大部分信息已经在数据库中,但我需要从该文件提取一列(电子邮件)并将其插入特定列(电子邮件)在数据库中.

这是可能的,还是只能导入数据库中所需内容的精确副本?

谢谢你的帮助

解决方法:

Export the table from PHPmyadmin as CSV for excel - 
drag it into excel - 
add the desired column - 
Save - 
export the table again from PHPmyadmin as .sql - 
copy the table creation(Not the data) - 
delete the table from PHPmyadmin- 
Run the table creation query so you Now have a blank table - 
Import the excel csv.

重要信息:备份数据库

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐