Problem doing a count query using 2 tables
From: chazz (chazz_at_discussions.microsoft.com)
Date: 10/17/04
- Previous message: Vishal Parkar: "Re: Problem doing a count query using 2 tables"
- Next in thread: Vishal Parkar: "Re: Problem doing a count query using 2 tables"
- Reply: Vishal Parkar: "Re: Problem doing a count query using 2 tables"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 17 Oct 2004 08:01:03 -0700
I've got one table that holds various information fields and a field for the
city, and another table that holds city and state (and zip, etc). I want to
query both tables to show the number of states for which records in the first
table were submitted. Problem is that although I can query a count of
records by city in table 1, or I can combine the fields from both tables, I
can't seem to manage to do both in 1 query. All I want is to select a date
range, reference the city field in one table to "city" in the other, and show
a count of the states. It's got to be simple but I can't figure it out. Can
anyone help with this? Thanks!
-- chazz
- Previous message: Vishal Parkar: "Re: Problem doing a count query using 2 tables"
- Next in thread: Vishal Parkar: "Re: Problem doing a count query using 2 tables"
- Reply: Vishal Parkar: "Re: Problem doing a count query using 2 tables"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|