Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Página 1 de 7
Programa de Ingeniería Industrial
Curso: Fundamentos Bases de Datos y Aplicaciones
N° Identificación 1005089884
● Tabla Postgrado
create table Postgrado (
idPostgrado integer not null,
nombre varchar(20),
constraint pk_Postgrado primary key (idPostgrado)
);
● Tabla Investigador
create table Investigador (
idInvestigador integer not null,
idPostgrado integer not null,
nombre varchar(20) not null,
universidad varchar(20) not null,
direccion varchar(15) not null,
email varchar(20) not null,
constraint pk_Investigador primary key (idInvestigador),
constraint fk_Investigador_Postgrado foreign key (idPostgrado)
references
Postgrado (idPostgrado)
);
● Tabla Proyecto
create table Proyecto (
idProyecto integer not null,
nombre varchar(20) not null,
totalPresupuesto integer not null,
fechaInicio date not null,
Facultad de Ingeniería
Página 2 de 7
Programa de Ingeniería Industrial
Curso: Fundamentos Bases de Datos y Aplicaciones
● Tabla Rol
create table Rol (
idRol integer not null,
descripcion varchar(70) not null,
constraint pk_Rol primary key (idRol)
);
● Tabla Participante
create table Participante (
idParticipante integer not null,
idProyecto integer not null,
idInvestigador integer not null,
idRol integer not null,
constraint pk_Participante primary key (idParticipante),
constraint fk_Participante_Proyecto foreign key (idProyecto)
references
Proyecto (idProyecto),
constraint fk_Participante_Investigador foreign key
(idInvestigador) references
Investigador (idInvestigador),
constraint fk_Participante_Rol foreign key (idRol) references
Rol (idRol)
);
● Tabla Postgrado
'Doctorado' );
insert into Postgrado ( idPostgrado, nombre ) values ( 4,
'Postdoctorado' );
● Tabla Rol
● Tabla Investigador
● Tabla Proyecto
● Tabla Participante