MySQL Forums
Forum List  »  Newbie

Re: Difficulty framing a JOIN statement
Posted by: tony mount
Date: April 15, 2012 06:58AM

$q="SELECT a.perfrid, CONCAT(b.firstname,' ',b.secondname) AS name, b.status, c.role
FROM Performers AS a
RIGHT JOIN people_list AS b ON a.perfrid=b.idno
LEFT JOIN production_roles AS c ON a.prno=c.prno
WHERE a.showid='".$idno."'
ORDER BY name";

Options: ReplyQuote

Written By
Re: Difficulty framing a JOIN statement
April 15, 2012 06:58AM

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.