I have a very simple select query which counts and displays the occurrences of various result codes in a customer table. The data is output as follows:
Result Code Count of Result Code
LAO 10
LOT 8
The customer table is linked to a result code table. There are a number of codes for which there are no occurrences in the customer table. I need to have these displayed also in the output table with the count as zero. How do I go about doing this?
Thanks in advance
Result Code Count of Result Code
LAO 10
LOT 8
The customer table is linked to a result code table. There are a number of codes for which there are no occurrences in the customer table. I need to have these displayed also in the output table with the count as zero. How do I go about doing this?
Thanks in advance