MySQL Forums
Forum List  »  Newbie

MySQL joins
Posted by: Jim Sawyer
Date: February 20, 2016 04:37PM

I have a join with two tables as follows:

select Client.Lastname, Login.Patient
from Login
inner join Client
on Login.Clino = Client.Clino
order by Client.Lastname, Login.Patient;

I would like to join a third table so I can include

Patient.Species

where

Login.Patno = Patient.Patno

I cannot figure out how to incorporate this third table in
the mix. Can someone help with this?

Thanks,
Jim Sawyer

Options: ReplyQuote


Subject
Written By
Posted
MySQL joins
February 20, 2016 04:37PM
February 21, 2016 12:01AM
February 27, 2016 09:00AM


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.