Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 17,676 of 19,505    |
|    Plamen Ratchev to All    |
|    Re: Grouping unions in sqlserver 2005    |
|    26 Oct 09 09:54:19    |
      f70f3b88       From: Plamen@SQLStudio.com              You can use a derived table:              SELECT code, description, SUM(qty), SUM(amount), SUM(costprice)       FROM (        |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca