title: Can't execute a COMPUTE statement
body: <p>I am trying to execute this simple statement on Northwind database</p>
  
  <pre><code>USE Northwind
  SELECT  productid, orderid,quantity 
  FROM [order details]
  ORDER BY productid, orderid
  COMPUTE SUM(quantity)
  GO
  </code></pre>
  
  <p>But I this can't execute , I got this error</p>
  
  <blockquote>
    <p><em>Msg 156, Level 15, State 1, Line 5<br>
    Incorrect syntax near the keyword 'COMPUTE'.</em></p>
  </blockquote>