thementornetwork
MIS
Let's say I have a table that looks like this:
ID Year
1 2007
1 2008
1 2009
2 2001
2 2002
2 2009
Now I need to run a query and return the data to like this:
ID Years
1 2007, 2008, 2009
2 2001, 2002, 2009
Any easy way of writing a query to return this output? Thanks.
ID Year
1 2007
1 2008
1 2009
2 2001
2 2002
2 2009
Now I need to run a query and return the data to like this:
ID Years
1 2007, 2008, 2009
2 2001, 2002, 2009
Any easy way of writing a query to return this output? Thanks.