Hi, I have a Query, in which I wish to Sum all the rows in a table that have an answerType of 1, and then, from that I wish to also calculate the proportion of those that answered Question1 as "Yes", and that who answered "No". I can see that No is just Total - Yes, so at this stage Im not too bothered about that.
At present I am doing
At present I am doing
Code:
Count(History.PageID) AS Tota1Q1Answered, Count(History.Response) AS TotalYes
Group By ..
HAVING ( ( (History.Response)="YES"));