MySQL Forums
Forum List  »  Spanish

Re: Ayuda Novato (unir tablas con campo diferente)
Posted by: William Chiquito
Date: March 01, 2008 07:04PM

Hola Guillermo,

Quizás estás buscando es la unión de ambas tablas.

Trata algo como:
SELECT ID, NOMBRE, PAIS, EUROS, NULL AS DOLARES FROM tableeuros
UNION
SELECT ID, NOMBRE, PAIS, NULL AS EUROS, DOLARES FROM tabledolares
ORDER BY ID;



Edited 1 time(s). Last edit at 03/01/2008 07:04PM by William Chiquito.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Ayuda Novato (unir tablas con campo diferente)
2675
March 01, 2008 07:04PM


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.