Taller Refuerzo  Juan Carlos Velasquez MuñOz
Upcoming SlideShare
Loading in...5
×
 

Taller Refuerzo Juan Carlos Velasquez MuñOz

on

  • 761 views

modelo entidad relacion del plantel

modelo entidad relacion del plantel

Statistics

Views

Total Views
761
Views on SlideShare
761
Embed Views
0

Actions

Likes
0
Downloads
4
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 Refuerzo  Juan Carlos Velasquez MuñOz Taller Refuerzo Juan Carlos Velasquez MuñOz Document Transcript

  • JUAN CARLOS VELASQUEZ MUÑOZ
    CODIGO: 2307015
    TALLER DE REFUERZO
    5to SEMESTRE DE ING. SISTEMAS
    BASES DE DATOS
    UCEVA
    TABLAS Y RELACIONES EN BD DESIGNER
    3835408255

    1. Identificar las llaves primarias y foráneas.
    FACULTAD (COF, NOMBRE)BLOQUE (COB, NOMBRE)
    ASIGNAT_PRERREQ (COA, COPRE)ASIGNATURA (COA, NOMBRE, CREDITO, HTI, AC, HP, COS, COP, COD, COAR)PREREQUISITOS (COPRE, NOMBRE)DOCENTE (COD, NOMBRE, FECHADENACIMIENTO, PREGRADO, POSGRADO, FECHADEINGRESO)PROGRAMA (COP, NOMBRE, COF)AREA (COAR, NOMBRE)SALON (COS, NOMBRE, COB)
    CODIGO FUETE
    CREATE TABLE " AREA"
    (" COAR" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(35),
    CONSTRAINT " AREA_PK" PRIMARY KEY (" COAR" ) ENABLE
    )
    /
    CREATE TABLE " DOCENTE"
    (" COD" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(20),
    " FECHADENACIMIENTO" CHAR(20),
    " PREGRADO" CHAR(100),
    " POSGRADO" CHAR(100),
    " FECHAINGRESO" CHAR(20),
    CONSTRAINT " DOCENTE_PK" PRIMARY KEY (" COD" ) ENABLE
    )
    /
    CREATE TABLE " PROGRAMA"
    (" COP" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(30),
    " COF" NUMBER NOT NULL ENABLE,
    CONSTRAINT " PROGRAMA_PK" PRIMARY KEY (" COP" ) ENABLE,
    CONSTRAINT " PROGRAMA_FK" FOREIGN KEY (" COF" )
    REFERENCES " FACULTAD" (" COF" ) ENABLE
    )
    /
    CREATE TABLE " SALON"
    (" COS" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(60),
    " COB" NUMBER,
    CONSTRAINT " SALON_PK" PRIMARY KEY (" COS" ) ENABLE,
    CONSTRAINT " SALON_FK" FOREIGN KEY (" COB" )
    REFERENCES " BLOQUE" (" COB" ) ENABLE
    )
    /
    CREATE TABLE " ASIGNATURA"
    (" COA" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(30),
    " CREDITO" CHAR(12),
    " THI" CHAR(1),
    " AC" CHAR(1),
    " HP" CHAR(1),
    " COP" NUMBER,
    " COD" NUMBER,
    " COAR" NUMBER,
    " COS" NUMBER,
    CONSTRAINT " ASIGNATURA_PK" PRIMARY KEY (" COA" ) ENABLE,
    CONSTRAINT " ASIGNATURA_FK" FOREIGN KEY (" COP" )
    REFERENCES " PROGRAMA" (" COP" ) ENABLE,
    CONSTRAINT " ASIGNATURA_FK2" FOREIGN KEY (" COD" )
    REFERENCES " DOCENTE" (" COD" ) ENABLE,
    CONSTRAINT " ASIGNATURA_FK3" FOREIGN KEY (" COAR" )
    REFERENCES " AREA" (" COAR" ) ENABLE,
    CONSTRAINT " ASIGNATURA_FK4" FOREIGN KEY (" COS" )
    REFERENCES " SALON" (" COS" ) ENABLE
    )
    /
    CREATE TABLE " PRERREQUISITOS"
    (" COPRE" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(30),
    CONSTRAINT " PRERREQUISITOS_PK" PRIMARY KEY (" COPRE" ) ENABLE
    )
    /
    CREATE TABLE " ASIG_PRERRE"
    (" COA" NUMBER,
    " COPRE" NUMBER,
    CONSTRAINT " ASIG_PRERRE_FK" FOREIGN KEY (" COA" )
    REFERENCES " ASIGNATURA" (" COA" ) ENABLE,
    CONSTRAINT " ASIG_PRERRE_FK2" FOREIGN KEY (" COPRE" )
    REFERENCES " PRERREQUISITOS" (" COPRE" ) ENABLE
    )
    /
    CREATE TABLE " BLOQUE"
    (" COB" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(20),
    CONSTRAINT " BLOQUE_PK" PRIMARY KEY (" COB" ) ENABLE
    )
    /
    CREATE TABLE " FACULTAD"
    (" COF" NUMBER NOT NULL ENABLE,
    " NOMBRE" CHAR(30),
    CONSTRAINT " FACULTAD_PK" PRIMARY KEY (" COF" ) ENABLE
    )
    /