MySQL Forums
Forum List  »  Spanish

AYuda con un select
Posted by: Manuel Pretel
Date: September 20, 2011 02:48PM

tengo una tabla db_pais y una tabla db_viaje en la table viaje necesito registrar en orgine y el destino mi consulta seria asi mas omenos

select p.Id_pais, p.detale
from db_pais p, db_viaje v
where p.Id_pais=v.Id_origen and p.Id_pais=v.Id_destino


pero no funciona gracias por su ayuda

Options: ReplyQuote


Subject
Views
Written By
Posted
AYuda con un select
1515
September 20, 2011 02:48PM
521
October 08, 2011 05:34PM


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.