Ahhh, sadly I'm using MySQL and exists hasn't been implemented yet!
And I've just answered my own problem... I should have used
select DISTINCT * from .............
Doh... Thanks 4 the reply though!!!
Mike
Hi, I'm trying to join two tables, where the second table contains one column only. This second column contains duplicates of the primary key in the first table - I'm trying to get all records which are common to both, but not the duplicates... is there a simple answer and I'm just being daft...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.