Re: How do I "Group by" more than 1 field in a query?
- From: "David F Cox" <nospam@xxxxxxxxxx>
- Date: Fri, 27 Oct 2006 20:50:09 +0100
Apologies, I misunderstood your post.
Group by Address, and select First instead of Group By so that you only get
an ID number once per address. (Last, Max and Min would also achieve the
same result.)
..
"David F Cox" <nospam@xxxxxxxxxx> wrote in message
news:O0kg%23Oc%23GHA.4464@xxxxxxxxxxxxxxxxxxxxxxx
If you are grouping by ID you will get one record per ID. (Been there -
Duuuh)
Just group by address. Be prepared for Addresses not to match because of
the smallest differences, like an extra space somewhere.
"SquirrelToothAnnie" <SquirrelToothAnnie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:0519F6DF-BFC1-4C58-BDC6-4F0BA89CACB1@xxxxxxxxxxxxxxxx
I'm trying to group by ID No' , then by address so that multiple IDs at
the
same address will only appear once in the query results. Please answer
clearly as I'm fairly new to this. Many thanks
.
- References:
- Re: How do I "Group by" more than 1 field in a query?
- From: David F Cox
- Re: How do I "Group by" more than 1 field in a query?
- Prev by Date: Re: query all values equal to the nearest payday??
- Next by Date: Re: Report Selection from Po-Up Choice?
- Previous by thread: Re: How do I "Group by" more than 1 field in a query?
- Next by thread: beginners SQL question
- Index(es):
Relevant Pages
|
Loading