How to export in phpmyadmin not include id column (the AUTO_INCREMENT column)

前端 未结 2 1207
南笙
南笙 2021-02-05 09:38

My database structure is:

`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`address` varchar(50) COLLATE utf8_unicode         


        
2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-05 10:35

    Go to SQL tab and manually write your select query without id column (SELECT name, address, ... FROM your_table). Then once you get the table with the results, scroll down to the bottom of the page and you'll see export icon inside the gray "Query results operations" fieldset. This should work for you.

    Screenshot per request (see very bottom): enter image description here

提交回复
热议问题