简体   繁体   English

如何从phpmyadmin中的数据库中的特定表中导出特定列

[英]How to export specific column from specific table from database in phpmyadmin

I want to add two specific column's data in another table's columns using same database in phpmyadmin. 我想使用phpmyadmin中的同一数据库在另一个表的列中添加两个特定列的数据。 I know the way to solve this using .CSV file but anyone help me to figure out this without using .CSV file. 我知道使用.CSV文件解决此问题的方法,但是任何人都可以帮助我找出不使用.CSV文件的问题。 How i can export that two specific column's data from one table and import that in another table using same database? 我如何从一个表中导出两个特定列的数据,并使用同一数据库将其导入另一个表中?

INSERT INTO new_table (field1, field2)
  SELECT field1, field2
  FROM old_table

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM