title: How to declare a variable in MySQL?
body: <p>How to declare a variable in mysql, so that my second query can use it?</p>
  
  <p>I would like to write something like:</p>
  
  <pre><code>SET start = 1;
  SET finish = 10;
  
  SELECT * FROM places WHERE place BETWEEN start AND finish;
  </code></pre>