create table hoteles (id_hotel varchar(10) primary key, nombre varchar(100), pais varchar(50)); create table habitaciones (id_habitacion varchar(10) primary key, tipo varchar(50), precio integer, id_hotel varchar(10), foreign key (id_hotel) references hoteles(id_hotel)); create table huespedes (id_huesped varchar(10) primary key, nombre varchar(50), apellidos varchar(100), correo varchar(100), celular integer, id_habitacion varchar(10), foreign key (id_habitacion) references habitaciones(id_habitacion));
To embed this project on your website, copy the following code and paste it into your website's HTML: