hmmm. I don't know how your database is laid out but I would do something similiar to this:
SELECT co.*, ct.* FROM enquiries en
LEFT JOIN contacts co on co.co_ContactID = en.en_contactID
LEFT JOIN contactPersonType ct on co.co_ContactType = ct.ct_contactTypeID
The problem with your duplicates is probably because you are selecting * and rather not particular fields from anyone table and, it seems to me, that you should have a WHERE clause determing which records in the enquiries table you want to deal with.
Anyway, try that and let me know.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========