JUAN CARLOS VELASQUEZ MUÑOZ<br />CODIGO: 2307015<br />TALLER DE REFUERZO<br />5to SEMESTRE DE ING. SISTEMAS<br />BASES DE ...
Taller Refuerzo  Juan Carlos Velasquez MuñOz
Taller Refuerzo  Juan Carlos Velasquez MuñOz
Taller Refuerzo  Juan Carlos Velasquez MuñOz
Taller Refuerzo  Juan Carlos Velasquez MuñOz
Taller Refuerzo  Juan Carlos Velasquez MuñOz
Upcoming SlideShare
Loading in …5
×

Taller Refuerzo Juan Carlos Velasquez MuñOz

748 views

Published on

modelo entidad relacion del plantel

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
748
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Taller Refuerzo Juan Carlos Velasquez MuñOz

  1. 1. JUAN CARLOS VELASQUEZ MUÑOZ<br />CODIGO: 2307015<br />TALLER DE REFUERZO<br />5to SEMESTRE DE ING. SISTEMAS<br />BASES DE DATOS<br />UCEVA<br />TABLAS Y RELACIONES EN BD DESIGNER<br />3835408255<br /> <br />1. Identificar las llaves primarias y foráneas. <br />FACULTAD (COF, NOMBRE)BLOQUE (COB, NOMBRE)<br />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)<br />CODIGO FUETE<br />CREATE TABLE " AREA" <br /> (" COAR" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(35), <br /> CONSTRAINT " AREA_PK" PRIMARY KEY (" COAR" ) ENABLE<br /> )<br />/<br />CREATE TABLE " DOCENTE" <br /> (" COD" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(20), <br />" FECHADENACIMIENTO" CHAR(20), <br />" PREGRADO" CHAR(100), <br />" POSGRADO" CHAR(100), <br />" FECHAINGRESO" CHAR(20), <br /> CONSTRAINT " DOCENTE_PK" PRIMARY KEY (" COD" ) ENABLE<br /> )<br />/<br />CREATE TABLE " PROGRAMA" <br /> (" COP" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(30), <br />" COF" NUMBER NOT NULL ENABLE, <br /> CONSTRAINT " PROGRAMA_PK" PRIMARY KEY (" COP" ) ENABLE, <br /> CONSTRAINT " PROGRAMA_FK" FOREIGN KEY (" COF" )<br /> REFERENCES " FACULTAD" (" COF" ) ENABLE<br /> )<br />/<br />CREATE TABLE " SALON" <br /> (" COS" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(60), <br />" COB" NUMBER, <br /> CONSTRAINT " SALON_PK" PRIMARY KEY (" COS" ) ENABLE, <br /> CONSTRAINT " SALON_FK" FOREIGN KEY (" COB" )<br /> REFERENCES " BLOQUE" (" COB" ) ENABLE<br /> )<br />/<br />CREATE TABLE " ASIGNATURA" <br /> (" COA" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(30), <br />" CREDITO" CHAR(12), <br />" THI" CHAR(1), <br />" AC" CHAR(1), <br />" HP" CHAR(1), <br />" COP" NUMBER, <br />" COD" NUMBER, <br />" COAR" NUMBER, <br />" COS" NUMBER, <br /> CONSTRAINT " ASIGNATURA_PK" PRIMARY KEY (" COA" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK" FOREIGN KEY (" COP" )<br /> REFERENCES " PROGRAMA" (" COP" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK2" FOREIGN KEY (" COD" )<br /> REFERENCES " DOCENTE" (" COD" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK3" FOREIGN KEY (" COAR" )<br /> REFERENCES " AREA" (" COAR" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK4" FOREIGN KEY (" COS" )<br /> REFERENCES " SALON" (" COS" ) ENABLE<br /> )<br />/<br />CREATE TABLE " PRERREQUISITOS" <br /> (" COPRE" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(30), <br /> CONSTRAINT " PRERREQUISITOS_PK" PRIMARY KEY (" COPRE" ) ENABLE<br /> )<br />/<br />CREATE TABLE " ASIG_PRERRE" <br /> (" COA" NUMBER, <br />" COPRE" NUMBER, <br /> CONSTRAINT " ASIG_PRERRE_FK" FOREIGN KEY (" COA" )<br /> REFERENCES " ASIGNATURA" (" COA" ) ENABLE, <br /> CONSTRAINT " ASIG_PRERRE_FK2" FOREIGN KEY (" COPRE" )<br /> REFERENCES " PRERREQUISITOS" (" COPRE" ) ENABLE<br /> )<br />/<br />CREATE TABLE " BLOQUE" <br /> (" COB" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(20), <br /> CONSTRAINT " BLOQUE_PK" PRIMARY KEY (" COB" ) ENABLE<br /> )<br />/<br />CREATE TABLE " FACULTAD" <br /> (" COF" NUMBER NOT NULL ENABLE, <br />" NOMBRE" CHAR(30), <br /> CONSTRAINT " FACULTAD_PK" PRIMARY KEY (" COF" ) ENABLE<br /> )<br />/<br />

×