Re: Join tables query
ThankĀ“s !
On this moment i need to bring multiple records because the news with id 1 relate to the id_posts 12 and 13 and 15 .
I need to bring on this query the last four records because they are not the news with id 1 and they have the same id_sports (12,13,15) that id_news 1 have
eg.:
table news
id_news title
1 one new
2 other new
table news_sports
id_news id_sports
3 45
1 12
1 15
1 13
2 17
2 13
2 15
3 15
3 12
So if i research related news to the news with the id 1 i would get just the third row wich have the id_sport = 15 because it is the one other new who have the same sport that my researched news 1 have too.
Subject
Written By
Posted
Re: Join tables query
July 06, 2005 01:50PM
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.