Exporting selectively
At various places in phpMyAdmin's interface, we can export the results that we see, or select the rows that we want to export. We will examine the various ways of exporting a selected portion of a table.
Exporting partial query results
When results are displayed from phpMyAdmin (here, the results of a query asking for the books from author_id 2), an Export link appears at the bottom of the page.
Clicking on this link brings up a special export panel containing the query on the top, along with the other table export options. An export produced via this panel would contain only the data from this result set.
Note
The results of single-table queries can be exported in all the available formats, while the results of multi-table queries can be exported in all the formats except SQL.
Exporting and checkboxes
Anytime we see the results (when browsing or searching, for example), we can check the boxes beside the rows that we want, and use the With selected: Export icon or link to...