bobmunkhouse
Technical User
I have a table holding a list of names. There are currently 4 names, and they are each held a number of times.
(e.g. bob, jim, joe, paul, paul, joe, jim, jim, jim)
I need a query to display each name; with the number of times it appears in the table next to it
(e.g.
Bob 1
Jim 4
Joe 2
Paul 2
)
I have tried to achieve this with a COUNT query. The problem is, if one name does not appear in the table I need the query to display a 0 next to the name, rather than the name not appearing at all.
I also have a second query holding each name once (so that you can see which names are missing from the table), if this helps.
Please help. Layman’s terms preferred
p.s. if this problem can be achieved using a report instead that would be fine, thank you
thankyou in advance
(e.g. bob, jim, joe, paul, paul, joe, jim, jim, jim)
I need a query to display each name; with the number of times it appears in the table next to it
(e.g.
Bob 1
Jim 4
Joe 2
Paul 2
)
I have tried to achieve this with a COUNT query. The problem is, if one name does not appear in the table I need the query to display a 0 next to the name, rather than the name not appearing at all.
I also have a second query holding each name once (so that you can see which names are missing from the table), if this helps.
Please help. Layman’s terms preferred
p.s. if this problem can be achieved using a report instead that would be fine, thank you
thankyou in advance