Hi all,
I have query which counts the number of records on monday, tuesday, wednesday etc depending on whether it is true or false.
e.g
Monday 18 yes
Monday 3 no
Tuesday 9 yes
Tuesday 8 no
etc...
the code for this is
My question is how do i show the records seperatley on different columns?
e.g
Weekday Yes no
Monday 18 3
Tuesday 9 8
etc
This ones quite difficult to suss out :s
many thanks
I have query which counts the number of records on monday, tuesday, wednesday etc depending on whether it is true or false.
e.g
Monday 18 yes
Monday 3 no
Tuesday 9 yes
Tuesday 8 no
etc...
the code for this is
Code:
SELECT Format([dateadded],"dddd") AS Days, Count(Sheet4.ReferralAppropriate) AS CountOfReferralAppropriate, Sheet4.ReferralAppropriate
FROM Sheet4
GROUP BY Format([dateadded],"dddd"), Sheet4.ReferralAppropriate;
My question is how do i show the records seperatley on different columns?
e.g
Weekday Yes no
Monday 18 3
Tuesday 9 8
etc
This ones quite difficult to suss out :s
many thanks