• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Taller 4
 

Taller 4

on

  • 608 views

BEATRIZ HURTADO SALAZAR

BEATRIZ HURTADO SALAZAR

Statistics

Views

Total Views
608
Views on SlideShare
608
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Taller 4 Taller 4 Document Transcript

    • 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