Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mysql Workbench, exporting selected rows of a table

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?

like image 839
Vnz Dichoso Avatar asked Nov 03 '14 08:11

Vnz Dichoso


1 Answers

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.

like image 78
Ariful Islam Avatar answered Oct 16 '22 10:10

Ariful Islam