Advice creating SQL syntax for Unique Count - SORRY!
Hi there
Sorry, for this posting as its been explained a thousand times over but I'm still finding it hard to write this query.
I would like to Count Unique days of the week for a particular code and year.
Year Code Day
03/04 VFOCE 1
03/04 VFOCE 1
03/04 VFOCE 2
03/04 VFOCE 3
03/04 VFOCE 3
03/04 VFOCE 4
This total count would result in 6 but I want a unique count of 4. I know it can be done (I've seen other examples) but I don't understand how to do it.
Can anyone pleaes advise.
Thanks.
Hi there
Sorry, for this posting as its been explained a thousand times over but I'm still finding it hard to write this query.
I would like to Count Unique days of the week for a particular code and year.
Year Code Day
03/04 VFOCE 1
03/04 VFOCE 1
03/04 VFOCE 2
03/04 VFOCE 3
03/04 VFOCE 3
03/04 VFOCE 4
This total count would result in 6 but I want a unique count of 4. I know it can be done (I've seen other examples) but I don't understand how to do it.
Can anyone pleaes advise.
Thanks.
Last edited: