In MySql's interpreter, it's very easy to dump a table to the screen along with its field names.
There seems to be no simple way to export a table to a tab-delimted or CSV outfile including its column headers.
I'm trying to do this using only SQL or the Linux command line, without writing a program in another language.
Thank you