ok... I have 2 tables that I need to gather info from:
Table 1= inventory (inventory_id, community_id, etc.)
Table 2 = communities ( community_id, community_name, etc..)
What I am trying to do is get a total of inventory fro each community.
I managed to run a query on only table 1 with this:
select distinct community_id, count(community_id) as count from inventory group by community_id
Which produced a result like below, which is correct.
1 (1)
2 (2)
3 (3)
4 (18)
5 (1)
I am trying to accomplish the samething but this time I need to select ALL data from
inventory(table 1) and communities(table 2) so I can display the data correctly.
Any ideas?
Thanks!
G