title: Silent variable assignment
body: <p>How can I silence only variable assignments when using <code>mysql</code> from <code>mysql-client</code>?</p>
  
  <p>I have a file <code>sql.sql</code>:</p>
  
  <pre><code>select id := id from companies where name="StackExchange";
  select profit, companyID from profits where companyID=@id
  select easter from egg where easterEgg=@id
  </code></pre>
  
  <p>If I run <code>mysql &lt; sql.sql</code>, I get</p>
  
  <pre><code>@id = id
  12
  
  profit   companyID
  ------   ---------
  -12000   12
  
  easter
  ------
  egg
  expires
  April
  </code></pre>
  
  <p>I want everything except the variable assignment lines:</p>
  
  <pre><code>profit   companyID
  ------   ---------
  -12000   12
  
  easter
  ------
  egg
  expires
  April
  </code></pre>
  
  <p>I want to avoid repeating code many times if I write</p>
  
  <pre><code>select profit, companyID from profits where companyID=(select id from companies where name="StackExchange")
  select easter from egg where easterEgg=(select id from companies where name="StackExchange")
  select something_else from someTable where this_column=(select id from companies where name="StackExchange")
  </code></pre>