![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/01/2003, 18:19
|
![Avatar de vamp_02](http://static.forosdelweb.com/customavatars/avatar16625_1.gif) | | | Fecha de Ingreso: febrero-2002 Ubicación: Santiago de Chile
Mensajes: 367
Antigüedad: 23 años Puntos: 0 | |
Mira Mysql, no se mucho pero debe ser parecido a Sql, si es asi, simple:
tablas:
tbl_1_campo1_campo_a
tbl_2_campo1_campo_b
tbl_3_campo1_campo_c
Tu dices:
Tengo tres (3) tablas que tienen un campo unico (campo_1), si te fijas en el ejemplo el campo se repite en las tres tablas.
Ahora
select
CAMPO_A,
CAMPO_B,
CAMPO_C
FROM
TBL_1,
TBL_2,
TBL_3
WHERE
TBL_1.CAMPO1=TBL_2.CAMPO1
AND TBL_1.CAMPO1=TBL_3.CAMPO1
aSI ES |