title: Function 'PRECENTILE_CONT' error #Netezza
body: <p>When I run the below query:</p>
  
  <pre><code>select PRECENTILE_CONT(0.5) WITHIN GROUP (ORDER BY X) AS MEDIAN_X
  from table;
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Function 'PRECENTILE_CONT' is not an analytic aggregate but is called
    with a window spec</p>
  </blockquote>
  
  <p>Please let me know if you have a solution to this.</p>