✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
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 dada. Dadas las siguientes filas en HUESPED_GUEST, ¿Cuántas filas devolvería una sentencia que obtenga los HUESPED_GUEST que han venido al hotel con más de un HUESPED_GUEST? en la misma reserva.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, how many rows will an SQL statement return for HUESPED_GUEST who has been accompanied by more than one HUESPED_GUEST? in the same reservation.