Mysql Workbench, exporting selected rows of a table

Vnz Dichoso picture Vnz Dichoso · Nov 3, 2014 · Viewed 7.1k times · Source

I already know how to export the whole database, but how do you export selected rows?

Say I need to export data from this queries: select * from users where gender="0"; How do you do turn them into a dump file?

Answer

Ariful Islam picture Ariful Islam · Nov 3, 2014

Easy way to do that:

Execute your query. In your case select * from users where gender="0";

In result section you will find File: option. There you will get Export record set to an external file. Click here and save your file in your desired extension.

Thats all.