MySQL Forums
Forum List  »  Newbie

Re: cmd mysqldump with -w
Posted by: Peter Brawley
Date: June 16, 2015 02:53PM

There's not a mysqldump param for joined tables, so you need a kludge. Here's one: given tables a and b that you wish to join on the shared column c, you can write ...

mysqldump ... a b --where="where a.c in(select a.c from a join b using c)"

Options: ReplyQuote


Subject
Written By
Posted
June 16, 2015 02:38AM
Re: cmd mysqldump with -w
June 16, 2015 02:53PM


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.