Looking for Bases de Datos test answers and solutions? Browse our comprehensive collection of verified answers for Bases de Datos at educacionadistancia.juntadeandalucia.es.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
¿Qué comando se utiliza para deshabilitar temporalmente el modo de confirmación automática en MySQL?
¿Qué valores tendría la tabla t y qué valor devuelve la sentencia SELECT value de las líneas 16 y 18?
1 CREATE TABLE t (s1 INT, PRIMARY KEY (s1));2 DELIMITER //3 CREATE PROCEDURE test(IN a INT, OUT b INT)4 BEGIN5 SET b = 0;6 WHILE a > b DO7 SET b = b + 1;8 IF b != 2 THEN9 INSERT INTO t VALUES (b);10 END IF;11 END WHILE;12 END;13 //14 DELIMITER ;15 CALL test(-10, @value);16 SELECT @value;17 CALL test(10, @value);18 SELECT @value;