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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JasonFMC

    Selecting a column with duplicate values in a table

    Try this: SELECT Custnmbr, Custname, Adrscode, Cntcprsn, (Address1 + ' ' + Address2 + ' ' + Address3) AS Address, City, State, Zip, COUNT(Zip) AS ZipCount FROM Customer WHERE Zip in (SELECT Zip FROM Customer GROUP BY Zip HAVING COUNT(*) > 1)

Part and Inventory Search

Back
Top