MySQL Forums
Forum List  »  Spanish

Re: Una ayudita por el amor de Dios !!
Posted by: William Chiquito
Date: November 23, 2006 09:28AM

Hola Phaseolus,

Trata con algo como esto, por ejemplo:

select
exp.exp_folio,
exp.exp_titulo,
exp.exp_fechaingreso,
exp.exp_estado,
act.act_fecha,
etp.etp_nombre,
pro.pro_nombre,
usr.usr_nombres,
usr.usr_apepat,
usr.usr_apemat,
dep.dep_nombre
from
expedientes exp
inner join actuaciones act on exp.exp_folio = act.act_folio
inner join etapas etp on act.act_etapa = etp.etp_codigo
inner join procedimientos pro on etp.etp_procedimiento = pro.pro_codigo
inner join usuarios usr on act.act_usuario = usr.usr_usuario
inner join departamentos dep on usr.usr_depto = dep.dep_codigo
where
exp.exp_folio = "1";

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Una ayudita por el amor de Dios !!
2418
November 23, 2006 09:28AM


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.