Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combining duplicate entry's 1

Status
Not open for further replies.

ironj32

Technical User
Dec 7, 2006
73
US
this is probably easy but i cannot figure this out for some reason.

i have a table (tblDescription) with two fields: "barcode" & "additional description"

there are some duplicate records that have the same "barcode", but different "additional description". is there a way to combine the two different descriptions into one.

ie: barcode description
1300 orange
1300 big

would like to be: barcode description
1300 orange big

thanks a lot for your help!




 
No more than TWO duplicates ?
SELECT barcode, Trim(Min([additional description]) & ' ' & Max([additional description])) AS description
FROM tblDescription
GROUP BY barcode

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top