MySQL Forums
Forum List  »  General

EXISTS function
Posted by: n
Date: February 22, 2005 04:45PM

I am using MySQL 4.0.20a-nt and I'm trying to execute the following query:
SELECT DISTINCT address FROM import_table
WHERE EXISTS (SELECT * FROM DUMMY )
And it is giving my the check your manual for the correct syntax near 'Exists ....

As far as I can tell, this version supports the exists function. Any ideas why this wouldn't be working.

Just so you know, I'm trying to identify the records that exists in the import_table that don't already exist in the dummy table.

Thanks

Options: ReplyQuote


Subject
Written By
Posted
EXISTS function
n
February 22, 2005 04:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.