MySQL Forums
Forum List  »  Newbie

Re: Strange string in FK error message
Posted by: Peter Brawley
Date: January 13, 2017 12:13PM

The query to find missing parents is a simple exclusion join ...

select e.security_id
from eod_securities_data e
left join securities s using(security_id)
where s.security_id is null;

Options: ReplyQuote


Subject
Written By
Posted
Re: Strange string in FK error message
January 13, 2017 12:13PM


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.