Glenn, it works! Thanks a lot!
Here's another solution someone else provided me
SELECT MAX(Q1) AS Q1,
MAX(Q2) AS Q2,
MAX(Q3) AS Q3,
MAX(Q4) AS Q4,
Group_Name,
ScheduledYear
FROM v_GroupSchedule
GROUP BY Group_Name,
ScheduledYear
Is it possible to group multiple rows with multiple columns into a single row? For example with the code below, I would like to create a view to make it look like:
-- Q1 ------ Q2 ------ Q3 ------ Q4 ----- Group ---Year
Audit Info|**Null***|**Null***| Audit Info|Accounting| 2011...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.