title: MySQL dump by query
body: <p>Is it possible to do <code>mysqldump</code> by single <code>SQL query</code>?</p>
  
  <p>I mean to dump the <strong>whole</strong> database, like <code>phpmyadmin</code> does when you do export to <code>SQL</code></p>