title: IFNULL in mysql speed issue
body: <pre><code>select IFNULL(col1, (select col2 from table2 where ...)) from table1 
  </code></pre>
  
  <p>Will it run select for table2 if table1 would have not null value? This is a speed issue question. I have no appropriate database to check. </p>