What exactly do you consider "duplicate"? Be very explicit so we understand what you are trying to do.
You might consider looking for and adjusting/removing/fixing records where Apartment_ is empty/blank.
I want to have one address like this one
4425 BADMINTON DR TPIA 4425 BADMINTON DR BSMT
Reduced to
4425 BADMINTON DR
And those Addresses with APARTMENT UNIT Numbers as shown below should not be showing duplicates like the one below.
2000 CREDIT VALLEY RD 110 2000 CREDIT VALLEY RD 111 2000 CREDIT VALLEY RD 112 2000 CREDIT VALLEY RD 113 2000 CREDIT VALLEY RD 122 2000 CREDIT VALLEY RD 123 2000 CREDIT VALLEY RD 124 2000 CREDIT VALLEY RD 125 2000 CREDIT VALLEY RD 201
Why do you need to remove duplicates? Seems to me you could get what you're after using an aggregate query
SELECT Street_Num, Street_Nam, Street_Typ FROM <TableName> GROUP BY Street_Num, Street_Nam, Street_Typ
Doing this I will lose the apartment units such as below
2000 CREDIT VALLEY RD 110 2000 CREDIT VALLEY RD 111 2000 CREDIT VALLEY RD 112 2000 CREDIT VALLEY RD 113 2000 CREDIT VALLEY RD 122 2000 CREDIT VALLEY RD 123 2000 CREDIT VALLEY RD 124 2000 CREDIT VALLEY RD 125 2000 CREDIT VALLEY RD 201
I will only get:
2000 CREDIT VALLEY RD
Without the Apartment Units.
so add the apartment number to the query
What/why exactly do you think these are duplicates?And those Addresses with APARTMENT UNIT Numbers as shown below should not be showing duplicates like the one below.
What are you trying to accomplish---please be specific and use simple, plain English?