MySQL Forums
Forum List  »  Knowledge Base

Re: Comapring Tables
Posted by: Paul Svirin
Date: August 27, 2009 03:04AM

Here is the comparation for mysql.user table:

select
case when exists (select user from user where user not in (select user from user) ) then 1
else 0
end as result;


Was that helpful?

---------------------
StarWind Software developer (http://www.starwindsoftware.com)

Options: ReplyQuote


Subject
Views
Written By
Posted
2454
July 16, 2009 01:38AM
Re: Comapring Tables
1527
August 27, 2009 03:04AM


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.