grantwilliams
Programmer
Hi,
I'm trying to create a query that will display its results vertically. I currently have a table with a RegisterID column and then a column for each year back to 1965. i.e.
where X represents the data stored.
I would like to put a query together which outputs the year and data for a particular RegisterID. i.e. For RegisterID = 1, I would get the following result:
Is there a way of doing this?
Thanks,
Grant
I'm trying to create a query that will display its results vertically. I currently have a table with a RegisterID column and then a column for each year back to 1965. i.e.
Code:
RegisterID 2004 2003 2002 ........ 1965
1 X X X X
2 X X X X
I would like to put a query together which outputs the year and data for a particular RegisterID. i.e. For RegisterID = 1, I would get the following result:
Code:
Year Team
2004 X
2003 X
2002 X
.
.
.
1965 X
Thanks,
Grant