title: Laravel Eloquent where between two column from Table
body: <p>What is the Laravel eloquent query for this:</p>
  
  <pre><code>select * from `jobs` where 1 between min_experience and max_experience;
  </code></pre>
  
  <p>I tried the below query but this one encapsulates the where 1 with single quotes.</p>
  
  <pre><code>Job::whereRaw('? between min_experience and max_experience',1)-&gt;get();
  
  select * from `jobs` where '1' between min_experience and max_experience;
  </code></pre>