Modelamiento
2. Diagrama lógico
3. Contenido de las tablas
Tabla asignado_a
Tabla investigador
Tabla plan
Tabla proyecto
4. Script de la base de datos/*==============================================================*/
/* DBMS name: MySQL 5.0 */
/* Created on: 25/06/2009 02:22:58 p.m. *//*==============================================================*/
drop table if exists ASIGNADO_A;
drop table if exists INVESTIGADOR;
drop table if exists PLAN;
drop table if exists PROYECTO;/*==============================================================*/
/* Table: ASIGNADO_A */
/*==============================================================*/create table ASIGNADO_A
(
CODPROYECTO char(50),
DNIINVESTIGADOR char(50),
FECHAINICIO date not null,
FECHAFIN date not null,
TIPOPARTICIPACIONchar(50) not null
);
/*==============================================================*/
/* Table: INVESTIGADOR *//*==============================================================*/
create table INVESTIGADOR
(
DNIINVESTIGADOR char(50) not null,
NOMBRE char(100) not null,
CIUDAD char(100) not null,
TELEFONOchar(50) not null,
primary key (DNIINVESTIGADOR)
);
/*==============================================================*/
/* Table: PLAN*/
/*==============================================================*/
create table PLAN
(
CODPLAN char(50) not null,
NOMPLAN char(100) not null,
ENTFINANCIERAchar(100) not null,
primary key (CODPLAN)
);
/*==============================================================*/
/* Table: PROYECTO */...
Regístrate para leer el documento completo.