SQL IFNULL on SELECT * statement
<p>Is there a way to set a default value for all returned values that are null, specifically in MySql?  </p>

<p>Instead of </p>

<pre><code>SELECT 
  IFNULL(foo, 0),
  IFNULL(bar, 0),
  IFNULL(baz, 0)
FROM table
</code></pre>

<p>I would like to do something like:</p>

<pre><code>SELECT IFNULL(*, 0)
FROM table

// this does not work, but I'm looking for something like it
</code></pre>