I
Ian Watt
I wonder if anyone can help?
I have a large table of un-normalized data. The table is called
Stonelist.
Three of the fields, and there are more, are called Graveyard,
Surname, and Stone. (There is also a unique ID primary key field).
The data represents the index to inscriptions on grave stones in
various locations.
So the data looks a bit like:-
Surname | Graveyard | Stone
================================
Smith | Kent | 21
===============================
Jones | Kent | 21
================================
White | Newcastle | 109
================================
Brown | Newcastle | 109
================================
Green | Newcastle | 109
=================================
(actually there are 10,000's of records and they aren't so easy to
read as that!)
I want to write a query which will tell me how many stones in whatever
graveyard have two or more surnames on them.
I'm very rusty at creating queries in Access (and even rustier in
SQL).
Ideally I'd like to check what the maximum number names on any stone
is, as well as how many have 2 names, how many have three ...... etc
up to the max - but I'd be happy just with the original query above.
Many thanks
Ian
I have a large table of un-normalized data. The table is called
Stonelist.
Three of the fields, and there are more, are called Graveyard,
Surname, and Stone. (There is also a unique ID primary key field).
The data represents the index to inscriptions on grave stones in
various locations.
So the data looks a bit like:-
Surname | Graveyard | Stone
================================
Smith | Kent | 21
===============================
Jones | Kent | 21
================================
White | Newcastle | 109
================================
Brown | Newcastle | 109
================================
Green | Newcastle | 109
=================================
(actually there are 10,000's of records and they aren't so easy to
read as that!)
I want to write a query which will tell me how many stones in whatever
graveyard have two or more surnames on them.
I'm very rusty at creating queries in Access (and even rustier in
SQL).
Ideally I'd like to check what the maximum number names on any stone
is, as well as how many have 2 names, how many have three ...... etc
up to the max - but I'd be happy just with the original query above.
Many thanks
Ian