That's cool r937.
I know it is exceedingly simple but hey, beginner, and it's not as if is particularly simple to find things in the manual.
I was already on the path with GROUP BY in my head, and I will look at the other thing tomorrow. I like working it out for myself anyways.
Cheers