title: Display only result > 2
body: <p>I face a problem with the result on my script.</p>
  <p>My formula for MARGIN is <code>((plnamt-(ibhexc/ibhand))/plnamt)*100</code>.</p>
  <p>I want to display only result &gt; 2. How to do this? Please help.</p>
  <p>This my script:</p>
  <pre><code>select 
  a.plnitm,a.plnstr,max(a.plncdt),max(a.plnndt),max(a.plnamt),max(a.plnevt),b.idept,c.ibhand,c.ibhexc,
  decimal((c.ibhexc/c.ibhand),12,4) as AVG_COST,
  decimal(((((max(a.plnamt)-(c.ibhexc/c.ibhand))/(max(a.plnamt))))*100),12,4) as MARGIN
  
  from prcpln a
  inner join invmst b on a.plnitm = b.inumbr
  inner join invbal c on a.plnitm = c.inumbr and a.plnstr = c.istore and c.ibhand &lt;&gt; 0
  where a.plnstr = ''14006''
  
  group by a.plnitm,a.plnstr,b.idept,c.ibhand,c.ibhexc
  order by a.plnitm
  </code></pre>