================================================================================ =============================== INFO basica ================================ ================================================================================ MEMORIA 1.48 Mb -------------------------------------- CRONOMETRO -------------------------------------- pre-cache 0.000 seg post-cache 0.000 seg pre conexion 0.001 seg conexion 0.004 seg pos conexion 0.005 seg pre-cache 0.000 seg post-cache 0.000 seg pre-cache 0.000 seg post-cache 0.000 seg pre-cache 0.000 seg post-cache 0.000 seg pre-cache 0.000 seg post-cache 0.000 seg pre-consulta 0.002 seg post-consulta 0.002 seg pre-consulta 0.000 seg post-consulta 0.001 seg pre-consulta 0.000 seg post-consulta 0.000 seg pre-cache 0.000 seg post-cache 0.000 seg pre-consulta 0.000 seg post-consulta 0.012 seg pre-consulta 0.035 seg post-consulta 0.009 seg pre-consulta 0.000 seg post-consulta 0.056 seg pre-consulta 0.000 seg post-consulta 0.008 seg pre-consulta 0.000 seg post-consulta 0.006 seg pre-consulta 0.000 seg post-consulta 0.007 seg pre-consulta 0.000 seg post-consulta 0.007 seg pre-consulta 0.000 seg post-consulta 0.006 seg pre-consulta 0.000 seg post-consulta 0.007 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.006 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.006 seg pre-consulta 0.000 seg post-consulta 0.006 seg pre-consulta 0.000 seg post-consulta 0.007 seg pre-consulta 0.000 seg post-consulta 0.008 seg pre-consulta 0.000 seg post-consulta 0.006 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.005 seg pre-consulta 0.000 seg post-consulta 0.005 seg fin request 0.001 seg fin response 0.000 seg -------------------------------------- TOTAL 0.253 seg -------------------------------------- ================================================================================ ================================ nivel INFO ================================ ================================================================================ -- La acción '07da30bf8df202832b542bd000b79e' no existe Se redirige a 'index' con parámetro '07da30bf8df202832b542bd000b79e' -- EJECUTANDO ACCION 'siu\operaciones\asistencias\controlador::accion__index' ================================================================================ ================================== DEBUG =================================== ================================================================================ -- ALIAS --------------------------------------------------------------------- /colegio -- ACTIVAR CACHE ------------------------------------------------------------- -- CATALOGO: sistema/version_base_g3 | cache [true] - tipo [memoria] --------- Array ( [parametros] => Array ( ) [metadata] => Array ( [cache] => memoria [filas] => 1 ) [force_cache] => Array ( ) ) -- ADMIN CACHE --------------------------------------------------------------- : instanciando: MemoriaApc -- CATALOGO CACHE DATOS ------------------------------------------------------ 3.22.0 -- === session_name === ------------------------------------------------------ siu_sess__colegio_des01 -- Autenticacion ------------------------------------------------------------- Usuario autenticado con la sesion -- sql ----------------------------------------------------------------------- SET CLIENT_ENCODING TO 'iso-8859-1'; -- sql ----------------------------------------------------------------------- SET search_path TO negocio -- CONECTAR DB --------------------------------------------------------------- Array ( [vendor] => pgsql [dbname] => toba_3_3 [schema] => negocio [schema_toba] => desarrollo [host] => guarani_escuelas_base_1 [port] => 5432 [pdo_user] => postgres ) -- SQL ----------------------------------------------------------------------- SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = 'negocio_auditoria') -- sql ----------------------------------------------------------------------- CREATE TEMP TABLE tt_usuario (usuario VARCHAR(60), id_solicitud INTEGER);GRANT SELECT, INSERT ON tt_usuario TO postgres;INSERT INTO tt_usuario (usuario) VALUES ('26858882'); -- CATALOGO: persona/datos_basicos | cache [true] - tipo [sesion] ------------ Array ( [parametros] => Array ( [persona] => '8' ) [metadata] => Array ( [parametros] => Array ( [0] => persona ) [cache] => sesion [filas] => 1 ) [force_cache] => Array ( ) ) -- ADMIN CACHE --------------------------------------------------------------- : instanciando: Sesion -- CACHE SESION buscar ------------------------------------------------------- catalogo____des01__persona__datos_basicos__Jzgn -- CATALOGO CACHE DATOS ------------------------------------------------------ Array ( [persona] => 8 [tipo_documento] => 0 [tipo_documento_desc] => Documento Nacional de Identidad [tipo_documento_desc_abreviada] => DNI [nro_documento] => 26858882 [apellido] => HARTMANN [nombres] => LORENA MARICEL [nombre_mostrar] => LORENA MARICEL [apellido_mostrar] => HARTMANN [inicial_apellido] => H [fecha_nacimiento] => 1979-08-29 [fecha_nacimiento_visual] => 29/08/1979 [id_imagen] => [perfil_inicial] => Docente [identificacion] => 26858882 [arai_identificador_sso] => [arai_uuid] => [legajo_docente] => 26858882 [docente] => 1 [orden] => 0 ) -- CATALOGO: persona/perfiles | cache [true] - tipo [sesion] ----------------- Array ( [parametros] => Array ( [persona] => 8 ) [metadata] => Array ( [parametros] => Array ( [0] => persona ) [no_quote] => persona [cache] => sesion [filas] => n ) [force_cache] => Array ( ) ) -- CACHE SESION buscar ------------------------------------------------------- catalogo____des01__persona__perfiles__OA__ -- CATALOGO CACHE DATOS ------------------------------------------------------ Array ( [Docente] => Docente [Preinscripcion] => Preinscripcion ) -- CATALOGO: persona/carreras | cache [true] - tipo [sesion] ----------------- Array ( [parametros] => Array ( [persona] => '8' ) [metadata] => Array ( [parametros] => Array ( [0] => persona ) [cache] => sesion [filas] => n ) [force_cache] => Array ( ) ) -- CACHE SESION buscar ------------------------------------------------------- catalogo____des01__persona__carreras__Jzgn -- CATALOGO CACHE DATOS ------------------------------------------------------ ARRAY VACIO -- CATALOGO: persona/configuracion | cache [true] - tipo [memoria] ----------- Array ( [parametros] => Array ( [persona] => '8' ) [metadata] => Array ( [parametros] => Array ( [0] => persona ) [cache] => memoria [cache_expiracion] => 600 [filas] => n ) [force_cache] => Array ( ) ) -- CATALOGO CACHE DATOS ------------------------------------------------------ Array ( [email] => hartmann.lorena@uader.edu.ar [recibe_mail_mensajes] => 0 [email_temporal] => ) -- cargar PERSONA ------------------------------------------------------------ 8 -- === pre_accion - perfil === ----------------------------------------------- Docente -- === pre_accion - operacion === -------------------------------------------- asistencias -- Recordset - recuperar - 8_07da30bf8df202832b542bd000b79e2838f7d966 ------- Array ( [0] => zona_clases [1] => subcomision_entidad [2] => Array ( [id] => 1081 ) [3] => id [4] => Array ( [comision] => Array ( [0] => comision ) ) [tipo_] => siu\modelo\entidades\rs_consulta [accion_destino__] => index [controlador_destino__] => asistencias ) -- CATALOGO: zona_clases/subcomision_entidad | cache [false] - tipo [no] ----- Array ( [parametros] => Array ( [id] => '1081' ) [metadata] => Array ( [parametros] => Array ( [0] => id ) [cache] => no [filas] => n ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- -- Comisiones sin subcomisiones SELECT cast(sga_comisiones.comision as text) as id, sga_comisiones.comision as comision, cast(null as integer) as subcomision, sga_comisiones.entidad FROM sga_comisiones WHERE cast(sga_comisiones.comision as text) = '1081' UNION ALL -- Comisiones con subcomisiones. SELECT cast(sga_comisiones.comision as text) || '_' || cast(sga_subcomisiones.subcomision as text) as id, sga_comisiones.comision as comision, sga_subcomisiones.subcomision as subcomision, sga_comisiones.entidad FROM sga_comisiones, sga_subcomisiones WHERE sga_subcomisiones.comision = sga_comisiones.comision AND cast(sga_comisiones.comision as text) || '_' || cast(sga_subcomisiones.subcomision as text) = '1081' -- DATOS --------------------------------------------------------------------- ----------------------------------- | id |comision|subcomision|entidad| ----------------------------------- |1081| 1081 | | 1662 | ----------------------------------- -- Derechos - derechos accion ------------------------------------------------ Array ( [0] => Array ( [0] => asistencia_editar [1] => comision ) ) -- Derechos - entidades ------------------------------------------------------ Array ( [comision] => Array ( [0] => comision ) ) -- CATALOGO: derecho_entidades/tiene_derecho_comisiones | cache [false] - tipo [no] Array ( [parametros] => Array ( [persona] => '8' [derecho] => 'asistencia_editar' [comisiones] => 1081 ) [metadata] => Array ( [parametros] => Array ( [0] => persona [1] => derecho [2] => comisiones ) [cache] => no [no_quote] => comisiones [filas] => n ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT --1 as tiene_derecho, sga_comisiones.comision --gdu_derechos.derecho as derecho, --gdu_derechos.nombre as nombre FROM sga_comisiones, gdu_derechos_personas, gdu_derechos WHERE sga_comisiones.comision IN (1081) AND gdu_derechos_personas.persona = '8' AND gdu_derechos_personas.derecho = 'asistencia_editar' AND gdu_derechos_personas.entidad = sga_comisiones.entidad AND gdu_derechos.derecho = gdu_derechos_personas.derecho AND gdu_derechos.derecho_para = 'C' -- DATOS --------------------------------------------------------------------- Array ( [1081] => 1 ) -- Adaptador Modelo - Recuperar datos para 'Array ( [0] => index ) ' - 07da30bf8df202832b542bd000b79e2838f7d966b919be274401d128bc5a463bac13419112385e15 Array ( [id] => 1081 [comision] => 1081 [subcomision] => [entidad] => 1662 [__ID__] => 07da30bf8df202832b542bd000b79e2838f7d966b919be274401d128bc5a463bac13419112385e15 ) -- CATALOGO: zona_clases/get_propuesta | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [comision] => '1081' ) [metadata] => Array ( [parametros] => Array ( [0] => comision ) [cache] => no [filas] => n ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT propuesta FROM sga_comisiones_propuestas WHERE comision = '1081' -- DATOS --------------------------------------------------------------------- ----------- |propuesta| ----------- | 1 | ----------- -- CATALOGO: carga_asistencias/tipo_asistencia | cache [true] - tipo [memoria] Array ( [parametros] => Array ( [comision] => '1081' ) [metadata] => Array ( [parametros] => Array ( [0] => comision ) [cache] => memoria [filas] => 1 ) [force_cache] => Array ( ) ) -- CATALOGO CACHE DATOS ------------------------------------------------------ Array ( [asistencia_por_horas] => N [asistencia_cantidad_inasist] => S ) -- CATALOGO: carga_asistencias/clase_cabecera | cache [false] - tipo [no] ---- Array ( [parametros] => Array ( [clase] => '12711' ) [metadata] => Array ( [parametros] => Array ( [0] => clase ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT vw_clases.clase, to_char(vw_clases.fecha, 'DD/MM/YYYY') as fecha_formateada, vw_clases.cantidad_horas_dictadas, vw_clases.tipo_clase_nombre as tipo_clase, to_char(vw_clases.hora_inicio, 'HH24:MI') AS hora_inicio_formateada, to_char(vw_clases.hora_finalizacion, 'HH24:MI') AS hora_finalizacion_formateada, vw_clases.comision_nombre, vw_clases.comision, vw_clases.dia_semana, vw_comisiones.elemento_nombre as actividad_nombre, vw_comisiones.elemento_codigo as actividad_codigo FROM vw_clases, vw_comisiones WHERE vw_clases.comision = vw_comisiones.comision AND vw_clases.clase = '12711' -- DATOS --------------------------------------------------------------------- Array ( [clase] => 12711 [fecha_formateada] => 27/02/2025 [cantidad_horas_dictadas] => 1.00 [tipo_clase] => Teórico-Práctica [hora_inicio_formateada] => 09:55 [hora_finalizacion_formateada] => 12:05 [comision_nombre] => 1ero 1era TM [comision] => 1081 [dia_semana] => Jueves [actividad_nombre] => Matemática [actividad_codigo] => fcyt-CB103 ) -- CLASE --------------------------------------------------------------------- 12711 -- ALUMNOS ------------------------------------------------------------------- Array ( [b755865f7411a4d9a3c1ba66cf68b72131b27574] => Array ( [PRESENTE] => 0.25 ) [a6e74a6b21dd6e79e7d6280d946f20b58e425515] => Array ( [PRESENTE] => 0 ) [854ac58a314e043b58ac90c7958347bde4689b52] => Array ( [PRESENTE] => 0 ) [e60cec94fa3cf7e78826be3c58e43035d0413547] => Array ( [PRESENTE] => 0 ) [3defcdbb656e370c988b71691ccb99f867f23219] => Array ( [PRESENTE] => 0 ) [6ec0710b76cd407d678de10ebe164bd53fe01c3c] => Array ( [PRESENTE] => 0 ) [af2a7d233db92f7902a677a9a7852d9103bf02ac] => Array ( [PRESENTE] => 0 ) [a0db992c01f448737e44b824c3de3cfb2d0e6287] => Array ( [PRESENTE] => 0 ) [3a05f264f8f85c0eb871342fed9dccb68da69fca] => Array ( [PRESENTE] => 0 ) [1f6b4fdc3e8d847c72882d5b4ff27c7e8a6e212b] => Array ( [PRESENTE] => 0 ) [46e401888e3c2cd1838a910296e93661e022ff4f] => Array ( [PRESENTE] => 0 ) [3ff0e0aa021db353d7538f568e8a87af2f3d5c8e] => Array ( [PRESENTE] => 0 ) [759ddd5618c4b1e6f0ad373cce67b3e1ce746676] => Array ( [PRESENTE] => 0 ) [b7f57ab57a906ff56ba568a324f2eb4ae828d59b] => Array ( [PRESENTE] => 0 ) [5bddb08a06e40b0acbaa797bf736d9d2a0b98d0f] => Array ( [PRESENTE] => 0 ) [d3b32264621da36d11168a3546a7a8d9c3885632] => Array ( [PRESENTE] => 0 ) [2c3666d373af149ac8edf443c16f038309a948a9] => Array ( [PRESENTE] => 0 ) [817883b2c71db63b4f6d6ec6d07e3e114a434834] => Array ( [PRESENTE] => 0 ) [c1ee67e9cf41699f358b9b6da2ee9693ecfaad11] => Array ( [PRESENTE] => 0 ) [193fff90242fac71e339f9178b109f0834d9f02d] => Array ( [PRESENTE] => 0 ) [e13acc52a3025c7705240e8458f756b2ce939d52] => Array ( [PRESENTE] => 0 ) [81e803fade8204740437a38b9fc9ec9b0a310c5a] => Array ( [PRESENTE] => 0 ) ) -- CATALOGO: carga_asistencias/clase_detalle | cache [false] - tipo [no] ----- Array ( [parametros] => Array ( [comision] => '1081' [clase] => '12711' [subcomision] => ) [metadata] => Array ( [parametros] => Array ( [0] => comision [1] => clase [2] => subcomision ) [param_null] => Array ( [0] => subcomision ) [cache] => no [filas] => n ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT sga_insc_cursada.alumno, sga_alumnos.legajo, vw_personas.apellido_nombres AS apellido_y_nombres, vw_personas.apellido_nombres_elegido AS apellido_y_nombres_elegido, vw_personas.tipo_nro_documento AS documento_principal, sga_insc_cursada.comision, COALESCE(sga_clases_asistencia.cant_inasistencias, -1) as cant_inasistencias, vw_personas.id_imagen as id_imagen, COALESCE(sga_clases_asistencia_acum.libre,0) as libre, sga_clases_asistencia.cant_justificadas as cant_justificadas, sga_clases_asistencia.motivo_ausencia as motivo_ausencia, sga_motivos_ausencias.nombre as motivo_ausencia_nombre, sga_motivos_ausencias.descripcion as motivo_ausencia_descripcion, sga_clases_asistencia.estado_justificacion as estado_justificacion, sga_clases_asistencia.observaciones as observaciones, coalesce((with pepepe as (select distinct alumno, fecha, cant_justificadas from vw_inasistencias_unca where anio_academico = (extract (year from (select fecha from sga_clases where clase = '12711'))) and cant_justificadas > 0 and alumno = sga_alumnos.alumno order by alumno, fecha ) select sum(cant_justificadas) from pepepe),0) as justificadas, coalesce((with pepepe as (select distinct alumno, fecha, cant_inasistencias from vw_inasistencias_unca where anio_academico = (extract (year from (select fecha from sga_clases where clase = '12711'))) and cant_inasistencias > 0 and alumno = sga_alumnos.alumno order by alumno, fecha ) select sum(cant_inasistencias) from pepepe),0) as inasistencias FROM sga_insc_cursada JOIN sga_alumnos ON sga_alumnos.alumno = sga_insc_cursada.alumno JOIN vw_personas ON vw_personas.persona = sga_alumnos.persona LEFT JOIN sga_clases_asistencia_acum ON (sga_clases_asistencia_acum.alumno = sga_insc_cursada.alumno AND sga_clases_asistencia_acum.comision = sga_insc_cursada.comision) LEFT JOIN sga_clases_asistencia ON (sga_clases_asistencia.clase = '12711' AND sga_clases_asistencia.alumno = sga_insc_cursada.alumno) LEFT JOIN sga_motivos_ausencias ON (sga_motivos_ausencias.motivo_ausencia = sga_clases_asistencia.motivo_ausencia) WHERE sga_insc_cursada.comision = '1081' AND sga_alumnos.calidad <> 'P' ORDER BY vw_personas.apellido_nombres_elegido -- DATOS --------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |alumno|legajo| apellido_y_nombres | apellido_y_nombres_elegido |documento_principal|comision|cant_inasistencias|id_imagen|libre|cant_justificadas|motivo_ausencia|motivo_ausencia_nombre|motivo_ausencia_descripcion|estado_justificacion|observaciones|justificadas|inasistencias| __ID__ | url_imagen | url_imagen_mediana | url_imagen_grande | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | 21 | | ALLOIS, Joaquín | ALLOIS, Joaquín | DNI 53250901 | 1081 | -1 | | 0 | | | | | | | 0 | 0.50 |b755865f7411a4d9a3c1ba66cf68b72131b27574|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 52 | | BERNASCONI, Maycol Jesús | BERNASCONI, Maycol Jesús | DNI 53007068 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |a6e74a6b21dd6e79e7d6280d946f20b58e425515|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 128 | | CARABALLO, Tiago Héctor | CARABALLO, Tiago Héctor | DNI 51286039 | 1081 | -1 | | 0 | | | | | | | 0 | 1.00 |854ac58a314e043b58ac90c7958347bde4689b52|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 53 | |CARBONETTO ANUZIS, Camilo Daniel |CARBONETTO ANUZIS, Camilo Daniel | DNI 53063839 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |e60cec94fa3cf7e78826be3c58e43035d0413547|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 54 | | DIAZ, Iris Nicol | DIAZ, Iris Nicol | DNI 52496448 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |3defcdbb656e370c988b71691ccb99f867f23219|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 55 | | ESTREMERO, Ludmila Abigail | ESTREMERO, Ludmila Abigail | DNI 53006327 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |6ec0710b76cd407d678de10ebe164bd53fe01c3c|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 56 | | FLEITAS, Uriel Santiago | FLEITAS, Uriel Santiago | DNI 52731121 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |af2a7d233db92f7902a677a9a7852d9103bf02ac|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 57 | | FRANCOVIG, William Aaron | FRANCOVIG, William Aaron | DNI 53250994 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |a0db992c01f448737e44b824c3de3cfb2d0e6287|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 58 | | GHIRARDI,, Mateo Antonio | GHIRARDI,, Mateo Antonio | DNI 52731338 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |3a05f264f8f85c0eb871342fed9dccb68da69fca|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 59 | | GOMEZ, Brenda Ailin | GOMEZ, Brenda Ailin | DNI 53004007 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |1f6b4fdc3e8d847c72882d5b4ff27c7e8a6e212b|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 60 | | GONZALEZ GABBI, CAMILA | GONZALEZ GABBI, CAMILA | DNI 53273457 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |46e401888e3c2cd1838a910296e93661e022ff4f|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 61 | | GONZÁLEZ, Jonás Benjamín | GONZÁLEZ, Jonás Benjamín | DNI 53004086 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |3ff0e0aa021db353d7538f568e8a87af2f3d5c8e|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 213 | | ISLA, Thiago Benjamín | ISLA, Thiago Benjamín | DNI 52496498 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |759ddd5618c4b1e6f0ad373cce67b3e1ce746676|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 208 | | MARQUEZ, Dylan Nahuel | MARQUEZ, Dylan Nahuel | DNI 52261797 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |b7f57ab57a906ff56ba568a324f2eb4ae828d59b|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 209 | | MORÚA, Luna Malena | MORÚA, Luna Malena | DNI 52492489 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |5bddb08a06e40b0acbaa797bf736d9d2a0b98d0f|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 210 | | MUSICCO, Juan Martín | MUSICCO, Juan Martín | DNI 52821967 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |d3b32264621da36d11168a3546a7a8d9c3885632|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 211 | | PAREJAS, Augusto Benicio | PAREJAS, Augusto Benicio | DNI 53007865 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |2c3666d373af149ac8edf443c16f038309a948a9|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 212 | | PESCE, Nayla | PESCE, Nayla | DNI 53004055 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |817883b2c71db63b4f6d6ec6d07e3e114a434834|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 129 | | RAMÍREZ, Héctor Daniel | RAMÍREZ, Héctor Daniel | DNI 52255011 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |c1ee67e9cf41699f358b9b6da2ee9693ecfaad11|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 62 | |RODRIGUEZ MARTINEZ, Eluney Danisa|RODRIGUEZ MARTINEZ, Eluney Danisa| DNI 52255008 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |193fff90242fac71e339f9178b109f0834d9f02d|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 63 | | STEGEMAN, Angie Nicole | STEGEMAN, Angie Nicole | DNI 52496447 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |e13acc52a3025c7705240e8458f756b2ce939d52|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| | 64 | | TRAVERSO, Gino Timoteo | TRAVERSO, Gino Timoteo | DNI 53250971 | 1081 | -1 | | 0 | | | | | | | 0 | 0 |81e803fade8204740437a38b9fc9ec9b0a310c5a|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -- sql ----------------------------------------------------------------------- BEGIN WORK -- ABRIR transaccion --------------------------------------------------------- base: toba_3_3 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '21' [clase] => '12711' [motivo] => [cantidad] => '0.25' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '21' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '21' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '21' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '21' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '21', '0.25', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '21' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '21', '0.25', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '21' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '21', '0.25', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '52' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '52' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '52' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '52' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '52' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '52', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '52' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '52', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '52' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '52', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '52' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '52', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '128' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '128' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '128' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '128' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '128' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '128', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '128' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '128', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '128' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '128', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '128' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '128', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '53' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '53' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '53' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '53' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '53' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '53', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '53' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '53', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '53' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '53', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '53' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '53', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '54' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '54' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '54' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '54' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '54' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '54', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '54' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '54', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '54' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '54', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '54' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '54', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '55' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '55' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '55' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '55' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '55' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '55', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '55' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '55', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '55' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '55', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '55' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '55', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '56' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '56' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '56' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '56' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '56' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '56', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '56' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '56', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '56' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '56', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '56' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '56', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '57' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '57' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '57' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '57' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '57' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '57', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '57' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '57', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '57' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '57', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '57' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '57', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '58' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '58' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '58' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '58' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '58' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '58', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '58' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '58', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '58' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '58', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '58' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '58', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '59' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '59' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '59' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '59' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '59' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '59', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '59' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '59', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '59' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '59', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '59' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '59', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '60' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '60' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '60' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '60' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '60' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '60', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '60' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '60', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '60' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '60', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '60' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '60', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '61' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '61' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '61' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '61' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '61' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '61', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '61' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '61', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '61' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '61', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '61' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '61', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '213' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '213' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '213' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '213' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '213' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '213', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '213' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '213', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '213' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '213', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '213' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '213', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '208' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '208' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '208' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '208' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '208' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '208', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '208' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '208', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '208' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '208', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '208' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '208', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '209' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '209' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '209' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '209' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '209' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '209', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '209' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '209', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '209' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '209', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '209' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '209', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '210' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '210' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '210' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '210' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '210' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '210', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '210' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '210', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '210' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '210', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '210' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '210', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '211' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '211' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '211' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '211' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '211' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '211', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '211' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '211', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '211' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '211', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '211' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '211', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '212' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '212' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '212' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '212' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '212' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '212', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '212' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '212', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '212' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '212', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '212' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '212', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '129' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '129' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '129' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '129' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '129' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '129', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '129' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '129', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '129' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '129', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '129' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '129', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '62' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '62' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '62' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '62' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '62' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '62', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '62' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '62', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '62' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '62', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '62' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '62', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '63' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '63' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '63' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '63' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '63' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '63', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '63' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '63', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '63' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '63', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '63' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '63', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- Array ( [parametros] => Array ( [alumno] => '64' [clase] => '12711' [motivo] => [cantidad] => '0' ) [metadata] => Array ( [parametros] => Array ( [0] => alumno [1] => clase [2] => cantidad [3] => motivo ) [param_null] => Array ( [0] => motivo ) [cache] => no [filas] => 1 ) [force_cache] => Array ( ) ) -- SQL ----------------------------------------------------------------------- SELECT cant_inasistencias, motivo_ausencia FROM sga_clases_asistencia WHERE clase = '12711' AND alumno = '64' -- SQL ----------------------------------------------------------------------- select clase from sga_clases where banda_horaria in ( select banda_horaria from sga_comisiones_bh where comision in ( select sc.comision from sga_comisiones sc join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision where (sc.division is null or sc.division in ( select division from sga_alumnos sa where alumno = '64' )) and (select fecha from sga_clases where clase = '12711') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) and (sc.turno is null or sc.turno = (select turno from sga_comisiones sc join sga_comisiones_bh scb ON sc.comision = scb.comision join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12711')) and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '64' ) ) ) and fecha = (select fecha from sga_clases where clase = '12711') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 10128 and alumno = '64' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 10128, '64', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11358 and alumno = '64' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11358, '64', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 11932 and alumno = '64' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 11932, '64', '0', null, 'A') -- SQL ----------------------------------------------------------------------- select 1 from sga_clases_asistencia where clase = 12711 and alumno = '64' -- sql ----------------------------------------------------------------------- INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) values ( 12711, '64', '0', null, 'A') -- DATOS --------------------------------------------------------------------- 1 -- sql ----------------------------------------------------------------------- COMMIT WORK -- CERRAR transaccion -------------------------------------------------------- base: toba_3_3 --F<1>:E<0>:W<0>:T<0.253 s>:M<1.48 Mb>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.002>-- --REXCAT_CMETMEDAT<0.001>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.000>-- --REXCAT_CMETMEDAT<0.012>-- --REXCAT_CMETMEDAT<0.009>-- --REXCAT_CMETMEDAT<0.056>-- --REXCAT_CMETMEDAT<0.008>-- --REXCAT_CMETMEDAT<0.006>-- --REXCAT_CMETMEDAT<0.007>-- --REXCAT_CMETMEDAT<0.007>-- --REXCAT_CMETMEDAT<0.006>-- --REXCAT_CMETMEDAT<0.007>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.006>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.006>-- --REXCAT_CMETMEDAT<0.006>-- --REXCAT_CMETMEDAT<0.007>-- --REXCAT_CMETMEDAT<0.008>-- --REXCAT_CMETMEDAT<0.006>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.005>-- --REXCAT_CMETMEDAT<0.005>-- == FIN =============================================