MySQL Forums
Forum List  »  InnoDB

Re: help with select query from 2 tables
Posted by: Jay Pipes
Date: July 01, 2005 09:52AM

SELECT r.Phonenum, r.Name, r.SID, r.DID, d.IP
FROM Registry r
INNER JOIN DInfo d
ON r.DID = d.DID
WHERE d.DID = XXX;

Obviously, replace XXX with your variable, if needed.

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: help with select query from 2 tables
2703
July 01, 2005 09:52AM


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.