Actividades unidad 3 pacheco
-
Upload
uv-administracion-sistemas -
Category
Spiritual
-
view
1.889 -
download
4
Transcript of Actividades unidad 3 pacheco
![Page 1: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/1.jpg)
3.1 INSTRUCCIONES INSERT UPDATE DELETE
ACTIVIDAD 1.- DEPARTAMENTO – EMPLEADO
![Page 2: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/2.jpg)
ACTIVIDAD 2.- COMPLEMENTO DE APERTURA 2008 DE LA UNIDAD PASADA. SENTENCIA UPDATE
![Page 3: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/3.jpg)
ACTIVIDAD 3.- SENTENCIA DELETE.
![Page 4: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/4.jpg)
PARA BORRAR TODOS LOS CHOFERES.
PARA BORRAR TODOS LOS EMPLEADOS
![Page 5: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/5.jpg)
COMENTARIO: No se borro ningun dato porque la tabla estaba vacia, ya que los datos serian requeridos para ejercicios posteriores =)
3.2 CONSULTAS BASICAS SELECT WHERE Y FUNCIONES A
NIVEL REGISTRO
ACTIVIDAD 1.- SELECCIONAR TODAS LAS TABLAS CREADAS POR UN USUARIO
![Page 6: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/6.jpg)
Actividad 2.- seleccionar todOs lOs OBJETOS borradas
![Page 7: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/7.jpg)
![Page 8: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/8.jpg)
ACTIVIDAD 3.- TABLAS DEL ESQUEMA ACTUAL, CON SU
TAMAÑO Y EL TABLESPACE QUE OCUPAN
![Page 9: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/9.jpg)
ACTIVIDAD 4.- SELECCIÓN DE COLUMNAS
![Page 10: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/10.jpg)
ACTIVIDAD 5.- CAMPOS DERIVADOS
![Page 11: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/11.jpg)
ACTIVIDAD 6.- CLAUSULA WHERE
![Page 12: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/12.jpg)
ACTIVIDAD 7.- CONDICION BETWEEN
![Page 13: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/13.jpg)
ACTIVIDAD 8.- CONDICION IN
![Page 14: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/14.jpg)
ACTIVIDAD 9.- CONDICION “LIKE”
![Page 15: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/15.jpg)
ACTIVIDAD 10.- ORDER BY
![Page 16: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/16.jpg)
ACTIVIDAD 11.- CLAUSULA DISTINCT
ACTIVIDAD 12.- CONDICION CASE :
![Page 17: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/17.jpg)
– IF-THEN- ELSE-
FUNCIONESACTIVIDAD 1.- FUNCIONES ARITMETICAS
![Page 18: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/18.jpg)
![Page 19: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/19.jpg)
Actividad 2.- funciones de cadena de caracteres
![Page 20: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/20.jpg)
ACTIVIDAD 3.- FUNCIONES DE MANEJO DE FECHAS
ACTIVIDAD 4.- FUNCIONES DE MANEJO DE TIPO
![Page 21: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/21.jpg)
3.3 CONSULTAS MULTITABLAS
ACTIVIDAD 1.- INTEGRIDAD REFERENCIAL
![Page 22: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/22.jpg)
ACTIVIDAD 2.- COMBINACION EXTREMA
![Page 23: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/23.jpg)
ACTIVIDAD 3.- GENERAR LISTADO
![Page 24: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/24.jpg)
OPERADOR JOIN – INNER
OPERADOR JOIN – OUTER
![Page 25: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/25.jpg)
OPERADOR JOIN – LEFT OUTER
![Page 26: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/26.jpg)
OPERADOR FULL OUTER JOIN COMBINADO CON WHERE
![Page 27: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/27.jpg)
SENTENCIA GROUP BYACTIVIDAD 1.- NUMERO DE EMPLEADOS
![Page 28: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/28.jpg)
COMENTARIO: EL RESTO DE LAS TABLAS, DE LOS EQUIPOS, NO ES POSIBLE HACER CONSULTAS, YA QUE
NO EXISTE LA B.D. DE ELLAS SOBRE LA CUAL HACER CONSULTAS. SOLO CONTAMOS CON LOS DATOS, MAS SIN EMBARGO, SON MAS EJEMPLOS DEL MISMO TEMA,
POR LO TANTO ES POSIBLE OMITIRLOS.
FUNCIONES DE AGREGACION
![Page 29: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/29.jpg)
ERROR ENCONTRADO
LAS ACTIVIDADES DE CONSULTAS CON RESPECTO A LOS MINUTOS DE UN JUGADOR, NO PUDIERON SER REALIZADAS, YA QUE EL ENLACE A LA PAGINA MEDIOTIEMPO, SE ENCUENTRA ROTO PROVOCANDO QUE LA INFORMACION DE LOS MINUTOS NO ESTE DISPONIBLE, Y TODAS LAS CONSULTAS TENIAN COMO SALIDA “NO SE HAN ENCONTRADO RESULTADOS”, O SIMPLEMENTE 0.
DE LA MISMA MANERA, NO TENEMOS LA ESTRUCTURA DE UNA TABLA NI UN MODELO INICIAL PARA EL EJERCICIO SOBRE LA TABLA NBA.
![Page 30: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/30.jpg)
ACTIVIDADES UNIDAD
3
![Page 31: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/31.jpg)
FUNDAMENTOS DE BASE DE DATOS
CASOS PRACTICOS
1 Y 2
![Page 32: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/32.jpg)
FUNDAMENTOS DE BASES DE DATOS
CASO PRACTICO 1: TECNOLOGICO VIRTUAL
1.- TABLAS
![Page 33: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/33.jpg)
![Page 34: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/34.jpg)
2. INSERCIONES2.1 CODIGO UTILIZADO PARA INSERTAR LOS DATOS EN
LA TABLA ALUMNOS
INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE) VALUES ('E06020024', 'ACOSTA','AMADOR','ARTURO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021506', 'AGUILERA','PEREZ','LILIANA LIZBET');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E05020337', 'COBOS','ORTEGA','ANGEL RAUL');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06230874', 'ANGHEVEN','AGUIRRE','BERNARDO DAGOBERTO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021504', 'BARRADAS','GARCIA','EDNA ASTRID');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020038', 'CASTILLO','ALARCON','JORGE ABRAHAM');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020043', 'CISNEROS','ROMO','CLAUDIA ISABEL');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021495', 'ESCALANTE','ESPEJO','WILLIAM');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E07020091', 'FERMAN','GONZÁLEZ','YAZMÍN GUADALUPE');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020070', 'FIGUEROA','FIGUEROA','ROSA ISELA');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E05020054', 'FLORES','CHÁVEZ','URIEL');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021450', 'HERNANDEZ','PONTIGO','ERIK SAMUEL');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E05020376', 'MEDINA','CORDOBA','KARLA NAYELI');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E05020364', 'LARA','HORN','MARCO ANTONIO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021530', 'MAYA','PEREZ','INDA ASTRID');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021442', 'MENDEZ','FIERRO','SEBASTIAN');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020129', 'MONTENEGRO','FIERRO','SANDRA GLENDA');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E07020166', 'MORALES','NAVARRO', 'RODRIGO EUGENIO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021482', 'PARTIDA','VAZQUEZ','JOSE DE JESUS');
![Page 35: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/35.jpg)
INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021500', 'RAMIREZ','REYES','RAQUEL');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021440', 'RENTERAL','OLIVOS','BRENDA GUADALUPE');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020090', 'HERNANDEZ','LOYO','ROBERTO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06022607', 'RODRIGUEZ','RONQUILLO','ALDO DE JESUS');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06021432', 'ROJAS','GARCIA','ANGEL ARTURO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E07020095', 'OSAS','HERNÁNDEZ','PEDRO ANTONIO');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020177', 'RUIZ','MARRON','DIANA');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020181', 'SANCHEZ','VILLARAUS','URI');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E06020185', 'SANTOS','MASSON','FRANCISCO JAVIER');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E07020098', 'VALERIO','ORTÍZ','SILVIA GUADALUPE');INSERT INTO ALUMNO (NCONTROL,APELLIDO1,APELLIDO2,NOMBRE)VALUES ('E07020096', 'ZÁRATE','AGUILAR','JULISSA');
2.1.1 TABLA ALUMNOS
//Tabla usuarios2.2 Insertar datos
![Page 36: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/36.jpg)
2.3 hacer una consulta de verificación de login – password
![Page 37: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/37.jpg)
3.- inserciones en la tabla asignatura, diplomado e imparte
![Page 38: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/38.jpg)
![Page 39: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/39.jpg)
4.- INSCRIPCION A LOS DIPLOMADOS
4.1 ASIGNAR ASIGNATURAS A ALUMNOS
![Page 40: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/40.jpg)
4.2 ACTUALIZAR CALIFICACIONES
4.3 SELECCIONAR MEJOR PROMEDIO
![Page 41: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/41.jpg)
4.4 CALCULAR EL DIPLOMADO MAS CARO
CASO PRACTICO 2: VIDEO PATITO
![Page 42: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/42.jpg)
OBJETOS(TABLAS, TRIGGERS, PROCEDURE)
![Page 43: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/43.jpg)
![Page 44: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/44.jpg)
TRIGGERS
![Page 45: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/45.jpg)
![Page 46: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/46.jpg)
![Page 47: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/47.jpg)
![Page 48: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/48.jpg)
![Page 49: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/49.jpg)
PROCEDIMIENTO
CODIGO DEL PROCEDIMIENTO
CREATE OR REPLACE PROCEDURE rentaPelicula ( nombre IN CHAR,
![Page 50: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/50.jpg)
ejemplar IN NUMBER, limite IN NUMBER)IS nRentas NUMBER; reg socio%ROWTYPE;
BEGIN BEGIN -- IFE del Socio SELECT * INTO reg FROM socio WHERE nombreSocio = nombre; /* Bloque que controla el error cuando el Socio no tiene Peliculas rentadas*/ BEGIN SELECT COUNT(ife) INTO nRentas FROM renta GROUP BY ife HAVING ife = reg.IFE; EXCEPTION WHEN NO_DATA_FOUND THEN nRentas := 0; END; IF (nRentas < limite) THEN INSERT INTO renta (IFE, idEjemplar, fechaRenta) VALUES (reg.IFE, Ejemplar,SYSDATE); UPDATE ejemplar SET estado = 'R' WHERE idEjemplar = Ejemplar; nRentas:= nRentas + 1; DBMS_OUTPUT.PUT_LINE('Películas Rentadas = ' || nRentas); ELSE DBMS_OUTPUT.PUT_LINE('Películas Rentadas Exceden el límite ' || nRentas); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN DBMS_OUTPUT.PUT_LINE(nombre || ' NO ES SOCIO'); END; END;
CONSULTAS AL SISTEMA1.- TITULO DE PELICULAS QUE EXISTEN EN EL VIDEOCLUB
![Page 51: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/51.jpg)
2.- TITULOS DE PELICULAS EN LAS QUE PARTICIPA ROBERT DE NIRO
![Page 52: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/52.jpg)
3.- numero de ejemplares por pelicula en el videoclub
![Page 53: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/53.jpg)
4.- ¿Cuáles son las películas que tiene alquiladas el socio X?
![Page 54: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/54.jpg)
5.- ¿Quiénes son los directores de nacionalidad X que tienen películas en el videoclub?
![Page 55: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/55.jpg)
6.- Nombre de las peliculas del genero X.
![Page 56: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/56.jpg)
7.- Peliculas dirigidas por el director X
![Page 57: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/57.jpg)
8.- Peliculas donde X participa como director y protagonista.
![Page 58: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/58.jpg)
9.- Peliculas con más de 3 días sin entregar.
![Page 59: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/59.jpg)
10.- Se desea mantener la información de los socios aunque estos se den de baja, para lo que se crea una tabla SOCIO_BAJA, que contiene los datos de socio y la
![Page 60: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/60.jpg)
fecha de baja y que se actualizará cada vez que se borre un socio.
POR MI PARTE, INTRODZCO UN COMANDO PARA BORRAR UNA FILA EN LA TABLA SOCIO, PARA COMPROBAR QUE EL DISPARADOR FUNCIONE.
![Page 61: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/61.jpg)
AL HACER UNA CONSULTA A LA TABLA SOCIO_BAJA, DESPUES DE ELIMINAR, COMPROBAMOS QUE FUNCIONO.
![Page 62: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/62.jpg)
OBJETIVOS
MANEJAR LA SENTENCIA SELECT, WHERE, FROM, DISPARADORES, OPERADORES PARA RELACIONAR VARIAS TABLAS, CONSULTAS MULTI TABLA, CONSULTAS EXTREMAS, INGRESAR DATOS POR DIFERENTES MEDIOS, BORRAR DATOS, HACER OPERACIONES Y FUNCIONES, CONVERSIONES DE TIPO, MANEJAR ALIAS.
![Page 63: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/63.jpg)
INMISCUIRSE EN UN VIDEO CLUB Y EN UN SISTEMA ESCOLAR, EJEMPLOS TIPICOS PARA LA CREACION DE SISTEMAS DE INFORMACION. CONOCER SU FUNCIONAMIENTO, DISTINTAS ENTIDADES Y COMO SE RELACIONAN.
CONCLUSIONSE DETECTARON VARIOS ERRORES, SOBRE TODO, FALTAS DE INFORMACION QUE IMPIDIERON LA CORRECTA REALIZACION DE TODOS LAS ACTIVIDADES, SIN EMBARGO, EN LO PERSONAL ME DIVERTI HACIENDO EN ESPECIAL LAS DE LA SENTENCIA SELECT.
TAMBIEN VIMOS QUE HAY VACIOS O PROBLEMAS PARA EL INGRESO DE INFORMACION MEDIANTE LA CARGA DE ARCHIVOS CSV, YA QUE TODOS DABAN
![Page 64: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/64.jpg)
FALLO, UNA VEZ QUE PASO LA VERIFICACION QUE NO HAYA ERRORES DE LA INTEGRIDAD REFERENCIAL, YA SEA POR EL METODO DE NUEVA TABLA, O TABLA EXISTENTE.
EJERCICIOSCAPITULO 3
![Page 65: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/65.jpg)
ABRAHAM PEREZ MORALESLSCA-UV
FUNDAMENTOS DE BASES DE DATOS
JOSE EVARISTO PACHECO VELASCO
![Page 66: Actividades unidad 3 pacheco](https://reader033.fdocumento.com/reader033/viewer/2022061609/5591337f1a28abb3628b46d0/html5/thumbnails/66.jpg)
MAPA CONCEPTUAL
Y MAPA MENTAL