Re: Join tables query
Posted by:
Jay Pipes
Date: July 06, 2005 02:00PM
SELECT news.* FROM news
CROSS JOIN news_sports lookup
INNER JOIN news_sports rest
ON lookup.id_sports = rest.id_sports
AND rest.id_news = news.id_news
WHERE lookup.id_news = 1;
Jay Pipes
Community Relations Manager, North America, MySQL Inc.
Got Cluster?
http://www.mysql.com/cluster
Personal:
http://jpipes.com
Subject
Written By
Posted
Re: Join tables query
July 06, 2005 02:00PM
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.