MySQL Forums
Forum List  »  Newbie

Re: How to recuperate data from other records in the same table
Posted by: J Scavok
Date: February 27, 2016 07:01PM

Or this:

select dogs.dog_name, sires.sire_name, dams.dam_name
from dogs
join sires on dogs.sire_id = sires.sire_id
join dams on dogs.dam_id = dams.dam_id
order by dogs.dog_name;

Options: ReplyQuote


Subject
Written By
Posted
Re: How to recuperate data from other records in the same table
February 27, 2016 07:01PM


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.