logo

Crowdly

BASES DE DATOS

Looking for BASES DE DATOS test answers and solutions? Browse our comprehensive collection of verified answers for BASES DE DATOS at campusvirtual.uclm.es.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Dado HUESPED_GUEST(dni_idcard,nombre_name,nacio_born), siendo dni_idcard su primary key con las filas siguientes.

¿la siguiente sentencia actualizará las filas?

Given HUESPED_GUEST(dni_idcard,nombre_name,nacio_born) with dni_idcard being its primary key and

the above rows, will the above statement update the rows?

View this question
Dado este script

¿Cuántas filas añade este script, si HUESPED_GUEST no tiene filas?

Given the above script, where the table HUESPED_GUEST has no rows, how many rows will the above SQL statement insert?

0%
0%
0%
View this question
Dada la tabla HAB_ROOM(planta_floor,num,tipo_type) siendo su primary key planta_floor y num, con num el número de habitación. ¿La siguiente sentencia borrará todas sus filas?

Given HAB_ROOM(planta_floor,num,tipo_type) with its primary key being planta_floor and num, with num being the room number. Does the following statement delete all its rows?

View this question
Dado HUESPED_GUEST(dni_idcard,nombre_name,nacio_born), siendo dni_idcard su primary key,HAB_ROOM(planta_floor,num,tipo_type) siendo su primary key planta_floor y num con num el número de habitación, y RESERVA_RESERVATION(dni_idcard,planta_floor,num,desde_from,hasta_to), con dni_idcard referenciando a HUESPED_GUEST.dni_idcard, planta_floor y num referenciando a HAB_ROOM.planta_floor y HAB_ROOM.num respectivamente, donde la tabla RESERVA_RESERVATION guarda las reservas de habitaciones de los huéspedes a lo largo de cinco años. ¿qué combinación mínima de atributos formaría su primary key, teniendo en cuenta que un huesped puede tener más de una reserva?

Given HUESPED_GUEST(dni_idcard,nombre_name,nacio_born) with dni_idcard being its primary key, HAB_ROOM(planta_floor,num,tipo_type) with its primary key being planta_floor and num with num being the room number, and RESERVA_RESERVATION(dni_idcard,planta_floor,num,desde_from,hasta_to) with dni_idcard referencing  HUESPED_GUEST.dni_idcard, planta_floor and num referencing HAB_ROOM.planta_floor and HAB_ROOM.num respectively, where the table RESERVA_RESERVATION stores the room reservations done during the last five years. Which of the following minimum attribute combination should be its primary key, considering that a guest may have more than one reservation?

View this question
Dado HUESPED_GUEST(dni_idcard,nombre_name,nacio_born,acompañar_accompany), siendo dni_idcard su primary key y acompañar_accompany una referencia al atributo dni_idcard VARCHAR(9).Así la fila ('9','Huesped_Guest9',NULL,'1') significa que el HUESPED_GUEST con dni_idcard='9' acompañó al HUESPED_GUEST con dni_idcard='1' en una fecha. ¿Qué devuelve la consulta de abajo, dadas las siguientes filas de HUESPED_GUEST.

Given HUESPED_GUEST(dni_idcard,nombre_name,nacio_born,acompañar_accompany) with dni_idcard being its primary key and acompañar_accompany being a reference to attribute dni_idcard. So, the row ('9','Huesped_Guest9',NULL,'1') means that the HUESPED_GUEST, with dni_idcard='9' has accompanied to the HUESPED_GUEST with dni_idcard='1' in a date. Given the above rows in HUESPED_GUEST, what will the above statement return?
0%
0%
View this question
Dado

escribe la sentencia en sql para quitar los derechos al usuario JUAN para añadir datos a la tabla HUESPED_GUEST

Given the above statement, write the sql statement to delete the privilege OF JUAN to insert data into the table HUESPED_GUEST.

View this question
dado HUESPED_GUEST(dni_idcard,nombre_name,nacio_born), siendo dni_idcard su primary key y sin filas. ¿la siguiente sentencia insertará las filas?

Given HUESPED_GUEST(dni_idcard,nombre_name,nacio_born) with dni_idcard being its primary key and

without rows, will the above statement insert the rows?

View this question
¿Qué valor devuelve la siguiente sentencia sql?

What value does the following statement return?

View this question
Dado HUESPED_GUEST(dni_idcard,nombre_name,nacio_born), siendo dni_idcard su primary key,HAB_ROOM(planta_floor,num,tipo_type) siendo su primary key planta_floor y num, con num el número de habitación, y RESERVA_RESERVATION(dni_idcard,planta_floor,num,desde_from,hasta_to), con dni_idcard referenciando a HUESPED_GUEST.dni_idcard, planta_floor y num referenciando a HAB_ROOM.planta_floor y HAB_ROOM.num respectivamente, donde la tabla RESERVA_RESERVATION guarda las reservas de habitaciones de los huéspedes a lo largo de cinco años. ¿Qué devuelve la siguiente consulta?

Given HUESPED_GUEST(dni_idcard,nombre_name,nacio_born) with dni_idcard being its primary key, HAB_ROOM(planta_floor,num,tipo_type) with its primary key being planta_floor and num, with num being the room number, and RESERVA_RESERVATION(dni_idcard,planta_floor,num,desde_from,hasta_to) with dni_idcard referencing  HUESPED_GUEST.dni_idcard, planta_floor and num referencing HAB_ROOM.planta_floor and HAB_ROOM.num respectively, where the table RESERVA_RESERVATION stores the room reservations done during the last five years. What is the result of the following statement?

View this question

Con HUESPED_GUEST(dni_idcard,nombre_name,nacio_born), siendo dni_idcard su primary key, y con las siguientes filas

¿cuántas filas actualiza el script siguiente?

Given HUESPED_GUEST(dni_idcard,nombre_name,nacio_born) with dni_idcard being its primary key and with the above rows, how many rows will the above SQL script update?
0%
0%
View this question

Want instant access to all verified answers on campusvirtual.uclm.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!