title: One dimensional array results from SQL column
body: <pre><code>SELECT col FROM table
  </code></pre>
  
  <p>Say I have this query and I get the following result:</p>
  
  <pre><code>array(2) {
  0 =&gt; array(1){
  "COL"=&gt;"value1"
  },
  1 =&gt; array(1){
  "COL"=&gt;"value2"
  }
  }
  </code></pre>
  
  <p>Is there some SQL statement I can use to get this from the same data:</p>
  
  <pre><code>array(2) {
  0=&gt;"value1",
  1=&gt;"value2"
  }
  </code></pre>
  
  <p>I'm using zend framework and db2. If it can't be done through SQL, can it be done with Zend?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: I should clarify, I can do this with a loop or a function. I was just wondering if there was a built-in way to do it to save a few lines of code and be all fancy smartpants.</p>