title: How to query for >= to <= in for column values in mysql
body: <p>I have a table which contain a column named 'extension' and its varchar.the values in 'extension' column are ..</p>
  
  <pre><code>00,5011,5014,5018,11111
  </code></pre>
  
  <p>Now as per my requirement i want to query where extension is greater than equal to  '00' and less than equal to '11111'.On executing this query i need to get all the values present in between these values but its not happening with 'between' query. i tried it with greater than less than also but again its giving error..</p>
  
  <p>I am stuck in this situation.Any help will be appreciated..</p>