I have a MySQL table that needs to be exported into several separate files. The table should be grouped by a particular column and files should have names of the corresponding values of this column. Format is not relevant I just need a suitable technique, program, whatever.
Any help would be much appreciated!
I have a MySQL table that needs to be exported into several separate files.
Share
If it’s less than 10 files or so, it’s easy to manually craft a script like:
If typing it out is too tedious, consider a query like this to generate the script: