Commit 3c1a1304 authored by David Villalobos Cambronero's avatar David Villalobos Cambronero
Browse files

Update PlanificacionGestionAcademica-Sobrescribir.sql

parent 5a43fe99
Pipeline #8468 passed with stage
in 4 seconds
......@@ -132,7 +132,9 @@ SELECT `DocenteId`, `Dia`, `PeriodoAnio`, SUBSTRING_INDEX(`PeriodoAnio`, '-', 1)
UNION
SELECT `DocenteId`, `Dia`, CONCAT(`CodigoPeriodo`, '-', `AnioAvatar`) AS `PeriodoAnio`, `CodigoPeriodo` AS `Periodo`, `AnioAvatar` AS `Anio`, CAST(`HoraInicio` AS TIME) AS `HoraInicio`, CAST(`HoraFinal` AS TIME) AS `HoraFinal`, 'VicerrectoriaDocencia_DocentesCursosExtraHorarios' AS `Tabla` FROM `Drupal`.`vVicerrectoriaDocencia_DocentesCursosExtraHorarios` `a` LEFT JOIN `Drupal`.`vVicerrectoriaDocencia_PeriodosLectivos` `b` ON (`b`.`PeriodosLectivosId` = `a`.`PeriodoLectivoId`)
UNION
SELECT `DocenteId`, `Dia`, CONCAT(`Periodo`, '-', `Anio`) AS `PeriodoAnio`, `Periodo`, `Anio`, `HoraInicio`, `HoraFinal`, 'VicerrectoriaDocencia_DocentesAdministrativosHorarios' AS `Tabla` FROM `Drupal`.`vVicerrectoriaDocencia_DocentesAdministrativosHorarios`;
SELECT `DocenteId`, `Dia`, CONCAT(`Periodo`, '-', `Anio`) AS `PeriodoAnio`, `Periodo`, `Anio`, `HoraInicio`, `HoraFinal`, 'VicerrectoriaDocencia_DocentesAdministrativosHorarios' AS `Tabla` FROM `Drupal`.`vVicerrectoriaDocencia_DocentesAdministrativosHorarios`
UNION
SELECT `DocenteId`, `Dia`, CONCAT(`CodigoPeriodo`, '-', `AnioPeriodo`) AS `PeriodoAnio`, `CodigoPeriodo`, `AnioPeriodo`, CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`Horario`, '/', 1), '-', -1) AS TIME) AS `HoraInicio`, CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`Horario`, '/', -1), '-', -1) AS TIME) AS `HoraFinal`, 'vVicerrectoriaDocencia_OfertaAcademica' AS `Tabla` FROM `Drupal`.`vVicerrectoriaDocencia_OfertaAcademica`;
-- -----------------------------------------------------
-- `Drupal`.`vVicerrectoriaDocencia_DocentesHerramientasTecnologicas`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment