G
Guest
Can you help me with the best way to count some data, all from one table.
Q1 Q2 Q3 Q4 Q5
Bob Y N Y Y D
Bob N N Y D N
Joe N Y Y D Y
Bob had (Q1=1/y and 1/n) (Q2=2/n) (Q3=2/y........
Joe had (Q1=1/n) (Q2=1/n)...........
Is there an SQL code I can put in a query to give me this, or do I need to
have multiable queries 1st to count, then to sum etc...???
Q1 Q2 Q3 Q4 Q5
Bob Y N Y Y D
Bob N N Y D N
Joe N Y Y D Y
Bob had (Q1=1/y and 1/n) (Q2=2/n) (Q3=2/y........
Joe had (Q1=1/n) (Q2=1/n)...........
Is there an SQL code I can put in a query to give me this, or do I need to
have multiable queries 1st to count, then to sum etc...???