我收到了一份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.
重要信息:备份数据库