MySQL Forums
Forum List  »  Other Migration

how to compare data from two tables
Posted by: divyanshu mishra
Date: August 24, 2007 12:32AM

hi ,
i am actually working on project where i have three tables A,B,C
i delete a table A completly and enter data in it every time the program runs.....
but in table B i just need to check that if corresponding isbn no not exists in table B then fetch them from table A and insert into table B.


can any one tell me how to write a mysql query for that.

** i am using isbn no as primary key.

thanks and regards:
divyanshu mishra

Options: ReplyQuote


Subject
Views
Written By
Posted
how to compare data from two tables
9237
August 24, 2007 12:32AM


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.