Home Forums SQL Server 2008 SQL Server 2008 - General Join of 2 subqueries RE: Join of 2 subqueries
HanShi
SSC-Dedicated
Points: 33506
More actions
July 17, 2013 at 7:17 am
#1633265
It's not really clear what you want, but I think you can put the GROUP BY statement inside the second sub-select (and remove the "q1" alias within this GROUP BY)