title: How to export / dump a MySql table into a text file including the field names (aka headers or column names)
body: <p>In MySql's interpreter, it's very easy to dump a table to the screen along with its field names. </p>
  
  <p>There seems to be no simple way to export a table to a tab-delimted or CSV outfile <em>including</em> its column headers.</p>
  
  <p>I'm trying to do this using only SQL or the Linux command line, without writing a program in another language.</p>
  
  <p>Thank you</p>