Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select dar.ndepartamento ,tr.descripcion as rol,
- concat(p.apellido1,' ',p.apellido2,' ',p.nombres) as docente,
- ca.nombre as actividad, tpcde.fecharegistro,
- tra.id_rol
- from esq_evaluacion.tbl_plc_control_docente_evidencias tpcde
- join esq_datos_personales.personal p on p.idpersonal = tpcde.iddocente
- join esq_distributivos.carga_administrativa ca on ca.idcarga_administrativa = tpcde.idcarga_administrativa
- join esq_evaluacion.tbl_roles_actividades tra on tra.id_actividad_gestion = tpcde.idcarga_administrativa
- join esq_roles.tbl_rol tr on tr.id_rol = tra.id_rol
- join esq_distributivos.distribucion_administrativa_resumen dar
- on dar.idperiodo_academico = tpcde.idperiodo
- and dar.id_personal = tpcde.iddocente and dar.habilitado = 'S'
- where tpcde.idperiodo = 167 and tpcde.idmes = 9 and estado_validacion = ''
- order by dar.ndepartamento ,tr.descripcion,docente
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement