title: Mysql select closest match from table
body: <p>I got a table that looks like that:</p>
  
  <pre><code>ID|DATA
  1 | ok
  4 | ok2
  5 | kk
  6 | same ok
  7 | k
  9 | yeah
  </code></pre>
  
  <p>I want to find the closest match(round down) to my id. When I pass </p>
  
  <blockquote>
    <p>id = 8</p>
  </blockquote>
  
  <p>I want to select the raw <code>7 | K</code></p>
  
  <p>How do I do that in mySql</p>