Hello,
I am wondering if someone could give some advice about how I could translate the following query in MS Access into T-SQL. Any help is greatly appraciated.
Thanks
------------------------------------------------------------------------------------
TRANSFORM
Avg(A.Response) AS AvgOfResponseSELECT
A.QuestText, A.SubQuestTextFROM
TableName AWHERE
A.Response Is Not NullGROUP
BY A.QuestText, A.SubQuestTextORDER
BY A.QuestText, A.SubQuestTextPIVOT
A.[Ethnicity Group]-------------------------------------------------------------------------------------------------------------------------------

Translating Access Cross-Tab query into T-SQL?
Lance Kujala
What version of SQL Server Also, can you post your table structures, some sample data and what you want the output to be