title: Mysql client ran out of memory
body: <p>When i try to combine 3 tables having 50K records and write a MySQL select query:</p>
  
  <pre><code>select t1.c1,t2.c2 from table1 t1,table2 t2,table3 t3 
  where t3.column3='&lt;value&gt;' and    t1.column1=t2.column1 
        and t2.column2=t3.column2 
        and t2.column2='&lt;value1&gt;' or t2.column2='&lt;value2&gt;' 
  </code></pre>
  
  <p>This is the kind of the query which am writing to run</p>
  
  <p>I get "mysql client ran out of memory"</p>
  
  <p>Any help on how to overcome this will be highly appreciated.</p>
  
  <p>Thanks</p>