I have a simple problem when querying the SQL Server 2005 database. I have tables called Customer and Products (1->M). One customer has most 2 products. Instead of output as
in sql2005, there are functions called "PIVOT" and "UNPIVOT" which can be used to transform between rows and columns.
Hope that could help you.