R
ray well
i have to extract info from a legacy access database, which i can't alter,
or run APPEND or UPDATE quries against. i can only use SELECT statments to
extract what i need.
the database has multiple entries for the same first and last name, i need
to generate a dataset that has no duplicate first and last names.
the sql statment itself is quite easy
SELECT DISTINCT tblNameAndAddress.LastName, tblNameAndAddress.FirstName
FROM tblNameAndAddress;
my problem is, i also need to extract an additonal field, UniqueID, which is
NOT the same in the multiple entries, so i can't add UniqueID to the SELECT
DISTINCT statement, because then it will bring up all the multiple entries.
any idea how i can solve this?
ray
or run APPEND or UPDATE quries against. i can only use SELECT statments to
extract what i need.
the database has multiple entries for the same first and last name, i need
to generate a dataset that has no duplicate first and last names.
the sql statment itself is quite easy
SELECT DISTINCT tblNameAndAddress.LastName, tblNameAndAddress.FirstName
FROM tblNameAndAddress;
my problem is, i also need to extract an additonal field, UniqueID, which is
NOT the same in the multiple entries, so i can't add UniqueID to the SELECT
DISTINCT statement, because then it will bring up all the multiple entries.
any idea how i can solve this?
ray