title: Column not found when using DB raw in laravel
body: <p>I'm trying to use <code>DB::raw()</code> in my eloquent query but it returns an error. Please see details below.</p>
  <p><strong>Code</strong></p>
  <pre><code>$companies = Company::select([
          '*',
          DB::raw(&quot;DATE_FORMAT(str_to_date(CONCAT('1/', month, '/', year), '%d/%M/%Y'), '%c-%d-%Y') as fullDate&quot;)
      ])
      -&gt;whereBetween('fullDate', ['Aug-01-2019', 'Oct-01-2019'])
      -&gt;count();
  </code></pre>
  <p><strong>Error</strong></p>
  <pre><code>SQLSTATE[42S22]: Column not found: 1054 Unknown column 'fullDate' in 'where clause' 
  </code></pre>