J
John
Hi
I have a table of clients and all clients are duplicated (by company name &
postcode) once or more in the table. Each client record has a date created
field. Is there a way to extract from each group of duplicated clients the
one client that has the earliest data created?
As an example, if I have the following records
CompanyA PostcodeA 01/01/07 ID1
CompanyA PostcodeA 01/02/07 ID2
CompanyA PostcodeA 02/02/07 ID15
CompanyB PostcodeB 01/03/07 ID8
CompanyB PostcodeB 01/04/07 ID11
then I would like the query to output the following;
CompanyA PostcodeA 01/01/07 ID1
CompanyB PostcodeB 01/03/07 ID8
Many Thanks
Regards
I have a table of clients and all clients are duplicated (by company name &
postcode) once or more in the table. Each client record has a date created
field. Is there a way to extract from each group of duplicated clients the
one client that has the earliest data created?
As an example, if I have the following records
CompanyA PostcodeA 01/01/07 ID1
CompanyA PostcodeA 01/02/07 ID2
CompanyA PostcodeA 02/02/07 ID15
CompanyB PostcodeB 01/03/07 ID8
CompanyB PostcodeB 01/04/07 ID11
then I would like the query to output the following;
CompanyA PostcodeA 01/01/07 ID1
CompanyB PostcodeB 01/03/07 ID8
Many Thanks
Regards