title: sql how to filter between 2 values of a result with an alias
body: <p>so i am trying to filter between -5 and 5
  but i get a </p>
  
  <blockquote>
    <p>invalid column name procent for 10 Tommer</p>
  </blockquote>
  
  <p>what is the correct way to do this</p>
  
  <pre><code>    select [Dækstørelsen],CAST(CEILING(
      (@omkredsnu-[Omkreds for 10 Tommer])/@omkredsnu*100*100)/100 
      as decimal(18,2)) as "procent for 10 Tommer"
      from [Tabel].[dæk]
     WHERE "procent for 10 Tommer" BETWEEN -5 AND 5,
  
  select [Dækstørelsen],CAST(CEILING(
  (@omkredsnu-[Omkreds for 11 Tommer])/@omkredsnu*100*100)/100 
  as decimal(18,2)) as "procent for 11 Tommer"
  from [Tabel].[dæk]
  WHERE "procent for 11 Tommer" BETWEEN -5 AND 5
  </code></pre>