M
markx
Greetings everybody,
I'm quite new to Access and SQL - until now worked a lot on Excel and some
VBA macros...
I would like to write a query that will extract me all the records where one
particular field (f. ex. family name) appears more than once through the
database.
Exemple:
Name First Name Address Age
Johnson Anne 47th Ave 40
Hill John 5th Ave 57
Johnson Adrian Wall Street 33
.... would like to extract the first and the third record (because the "name"
field in these records (=Johnson) apprears more than once in the database)
I'm also wondering what is the best way in Access to extract records based
on their frequency (in one particular field), f. ex. extract records with
the unique specific field, then extract all the records with the specific
field appearing twice in the whole database, then three times and so on...
Suppose it should be someting easy, but don't know where to find an answer.
Have also some problem with the MS Access SQL synthax.
Thanks for your help on this,
Mark
I'm quite new to Access and SQL - until now worked a lot on Excel and some
VBA macros...
I would like to write a query that will extract me all the records where one
particular field (f. ex. family name) appears more than once through the
database.
Exemple:
Name First Name Address Age
Johnson Anne 47th Ave 40
Hill John 5th Ave 57
Johnson Adrian Wall Street 33
.... would like to extract the first and the third record (because the "name"
field in these records (=Johnson) apprears more than once in the database)
I'm also wondering what is the best way in Access to extract records based
on their frequency (in one particular field), f. ex. extract records with
the unique specific field, then extract all the records with the specific
field appearing twice in the whole database, then three times and so on...
Suppose it should be someting easy, but don't know where to find an answer.
Have also some problem with the MS Access SQL synthax.
Thanks for your help on this,
Mark