Hi, I've got a problem.
I have a table with the follwing rows:
1
2
3
4
5
and another table with the follwing rows
1
1
1
2
2
4
5
5
Now I need to get the number of occurences in the 2nd table (0f 1,2 ,3,4,5) in a resultset like this (3rd table)
1 3
2 2
3 0
4 1
5 2
(so three occurences of '1' in table 2, 2 occurences of '2' in table 2 etc.)
The problem is '3'. How do I get my query to display the number of occurences of '3' when the result must show '0'?
Pse help!!!
Phillip