• Like
Taller 4
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Published

BEATRIZ HURTADO SALAZAR

BEATRIZ HURTADO SALAZAR

Published in Technology , Sports
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
359
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. TALLER DE PRÁCTICA 4
    BEATRIZ HURTADO SALAZAR
    UNIDAD CENTRAL DEL VALLE DEL CAUCA
    INGENIERIA EN SISTEMAS
    V SEMESTRE
    TULUA - VALLE
    TALLER DE PRÁCTICA 4
    BEATRIZ HURTADO SALAZAR
    EDGAR SANDOVAL
    UNIDAD CENTRAL DEL VALLE DEL CAUCA
    INGENIERIA EN SISTEMAS
    V SEMESTRE
    TULUA – VALLE
    DIAGRAMA
    IDENTIFICAR LAS LLAVES FORANEAS Y PRIMARIAS DEL TALLER # 4
    BLOQUE (Cob, Nombre)
    SALON (Cos, Nombre, Cob)


    ASIGNATURA (Co_A, Codigo, Cop, CodAr, Cos, Nombre, Creditos, Hit, Ac, Hp, Prerrequisito)

    PROGRAMA(Cop, NOMBRE, Cof)
    FACULTAD ( Cof, Nombre)
    AREA (CodAr, Nombre)
    DOCENTE ( Codigo, Nombre, FechaNacimiento, Pregrado, Postgrado, FechaIngreso )
    ASIGNATURA_has_PRERREQUISITOS (Co_A, Cod_Prerrequisito)
    PRERREQUISITOS(Cod_Prerrequisitos, Nom_prerrequisitos)
    ARCHIVO DE COMANDOS
    CREATE TABLE " AREA"
    (" CODAR" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(60) NOT NULL ENABLE,
    CONSTRAINT " AREA_PK" PRIMARY KEY (" CODAR" ) ENABLE
    )
    /
    CREATE TABLE " DOCENTE"
    (" CODIGO" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(60) NOT NULL ENABLE,
    " FECHANACIMIENTO" CHAR(20),
    " PREGRADO" CHAR(100),
    " POSTGRADO" CHAR(100),
    " FECHAINGRESO" CHAR(20),
    CONSTRAINT " DOCENTE_PK" PRIMARY KEY (" CODIGO" ) ENABLE
    )
    /
    CREATE TABLE " PROGRAMA"
    (" COP" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(60) NOT NULL ENABLE,
    " FACULTAD_COF" NUMBER NOT NULL ENABLE,
    CONSTRAINT " PROGRAMA_PK" PRIMARY KEY (" COP" ) ENABLE,
    CONSTRAINT " PROGRAMA_FK" FOREIGN KEY (" FACULTAD_COF" )
    REFERENCES " FACULTAD" (" COF" ) ENABLE
    )
    /
    CREATE TABLE " SALON"
    (" COS" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(6) NOT NULL ENABLE,
    " BLOQUE_COB" NUMBER NOT NULL ENABLE,
    CONSTRAINT " SALON_PK" PRIMARY KEY (" COS" ) ENABLE,
    CONSTRAINT " SALON_FK" FOREIGN KEY (" BLOQUE_COB" )
    REFERENCES " BLOQUE" (" COB" ) ENABLE
    )
    /
    CREATE TABLE " ASIGNATURA"
    (" CO_A" NUMBER NOT NULL ENABLE,
    " DOCENTE_CODIGO" NUMBER NOT NULL ENABLE,
    " PROGRAMA_COP" NUMBER NOT NULL ENABLE,
    " AREA_CODAR" NUMBER NOT NULL ENABLE,
    " SALON_COS" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(12),
    " CREDITOS" CHAR(1),
    " HIT" CHAR(1),
    " AC" CHAR(1),
    " HP" CHAR(1),
    " PRERREQUISITOS" CHAR(15),
    CONSTRAINT " ASIGNATURA_PK" PRIMARY KEY (" CO_A" ) ENABLE,
    CONSTRAINT " ASIGNATURA_FK" FOREIGN KEY (" DOCENTE_CODIGO" )
    REFERENCES " DOCENTE" (" CODIGO" ) ENABLE,
    CONSTRAINT " AREA_FK2" FOREIGN KEY (" PROGRAMA_COP" )
    REFERENCES " PROGRAMA" (" COP" ) ENABLE,
    CONSTRAINT " AREA_FK3" FOREIGN KEY (" AREA_CODAR" )
    REFERENCES " AREA" (" CODAR" ) ENABLE,
    CONSTRAINT " AREA_FK4" FOREIGN KEY (" SALON_COS" )
    REFERENCES " SALON" (" COS" ) ENABLE
    )
    /
    CREATE TABLE " PRERREQUISITOS"
    (" COD_PRERREQUISITOS" NUMBER NOT NULL ENABLE,
    " NOM_PRERREQUISITOS" CHAR(30) NOT NULL ENABLE,
    CONSTRAINT " PRERREQUISITOS_PK" PRIMARY KEY (" COD_PRERREQUISITOS" ) ENABLE
    )
    /
    CREATE TABLE " ASIGNA_PRE"
    (" ASIGNATURA_CO_A" NUMBER NOT NULL ENABLE,
    " PRERREQUISITOS_COD_PRERREQUISI" NUMBER NOT NULL ENABLE,
    CONSTRAINT " ASIGNA_PRE_FK" FOREIGN KEY (" ASIGNATURA_CO_A" )
    REFERENCES " ASIGNATURA" (" CO_A" ) ENABLE,
    CONSTRAINT " ASIGNA_PRE_FK2" FOREIGN KEY (" PRERREQUISITOS_COD_PRERREQUISI" )
    REFERENCES " PRERREQUISITOS" (" COD_PRERREQUISITOS" ) ENABLE
    )
    /
    CREATE TABLE " BLOQUE"
    (" COB" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(20) NOT NULL ENABLE,
    CONSTRAINT " BLOQUE_PK" PRIMARY KEY (" COB" ) ENABLE
    )
    /
    CREATE TABLE " FACULTAD"
    (" COF" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(30) NOT NULL ENABLE,
    CONSTRAINT " FACULTAD_PK" PRIMARY KEY (" COF" ) ENABLE
    )
    /
    ESQUEMA DEL MODELO