Taller De PráCtica 4

369 views
308 views

Published on

taller de refuerso

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

  • Be the first to like this

No Downloads
Views
Total views
369
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Taller De PráCtica 4

  1. 1. TALLER DE PRÁCTICA 4<br />LUIS FERNANDO RAMIREZ OSORIO<br />UNIDAD CENTRAL DEL VALLE DEL CAUCA<br />INGENIERIA EN SISTEMAS<br />V SEMESTRE<br />TULUA - VALLE<br />TALLER DE PRÁCTICA 4<br />LUIS FERNADO RAMIREZ<br />EDGAR SANDOVAL<br />UNIDAD CENTRAL DEL VALLE DEL CAUCA<br />INGENIERIA EN SISTEMAS<br />V SEMESTRE <br />TULUA – VALLE<br />-323851519555MODELO<br />IDENTIFICAR LAS LLAVES PRIMARIAS Y FORÁNEAS <br />BLOQUE ( codBLOQUE , nomBLOQUE )<br />SALON (codSALON, codBLOQUE, nomSALON )<br />ASIGNATURA (CreditosASIGNATURA , codSALON, codAREAS, codDOCENTE, nomASIGNATURA, codASIGNATURA, HTI, HCD, HA, codPROGRAMA,)<br />PROGRAMA (codPROGRAMA, codFACULTAD, nomPROGRAMA )<br />FACULTAD (codFACULTAD,nomFACULTAD)<br />AREAS (codAREAS, nomAREAS)<br />CREATE TABLE DOCENTE (codDOCENTE, nomDOCENTE, fecNacDOCENTE, PregradoDOCENTE, postgradoDOCENTE, fecIngreDOCENTE )<br />ASIGNATURA_has_PRERREQUISITO (codASIGNATURA, codPRERREQUISITO)<br />PRERREQUISITO (codPRERREQUISITO, nomPRERREQUISITO).<br />CODIGO DDL<br />CREATE TABLE " AREAS" <br /> (" CODAREAS" NUMBER(*,0), <br />" NOMAREAS" CHAR(20), <br /> PRIMARY KEY (" CODAREAS" ) ENABLE<br /> )<br />/<br />CREATE TABLE " ASIGNATURA" <br /> (" CODASIGNATURA" NUMBER, <br />" CODSALON" NUMBER, <br />" CODAREAS" NUMBER, <br />" CODDOCENTE" NUMBER, <br />" CODPROGRAMA" NUMBER, <br />" NOMASIGNATURA" CHAR(60), <br />" HTI" NUMBER, <br />" HCD" NUMBER, <br />" HA" NUMBER, <br />" CREDITOSASIGNATURA" NUMBER, <br /> CONSTRAINT " ASIGNATURA_PK" PRIMARY KEY (" CODASIGNATURA" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK" FOREIGN KEY (" CODAREAS" )<br /> REFERENCES " AREAS" (" CODAREAS" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK2" FOREIGN KEY (" CODDOCENTE" )<br /> REFERENCES " DOCENTE" (" CODDOCENTE" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK3" FOREIGN KEY (" CODPROGRAMA" )<br /> REFERENCES " PROGRAMA" (" CODPROGRAMA" ) ENABLE, <br /> CONSTRAINT " ASIGNATURA_FK4" FOREIGN KEY (" CODSALON" )<br /> REFERENCES " SALON" (" CODSALON" ) ENABLE<br /> )<br />/<br />CREATE TABLE " ASIG_PRE" <br /> (" CODASIGNATURA" NUMBER, <br />" CODPRERREQUISITO" NUMBER, <br /> CONSTRAINT " ASIG_PRE_FK" FOREIGN KEY (" CODASIGNATURA" )<br /> REFERENCES " ASIGNATURA" (" CODASIGNATURA" ) ENABLE, <br /> CONSTRAINT " ASIG_PRE_FK2" FOREIGN KEY (" CODPRERREQUISITO" )<br /> REFERENCES " PRERREQUISITO" (" CODPRERREQUISITO" ) ENABLE<br /> )<br />/<br />CREATE TABLE " BLOQUE" <br /> (" CODBLOQUE" NUMBER(*,0), <br />" NOMBLOQUE" CHAR(20), <br /> PRIMARY KEY (" CODBLOQUE" ) ENABLE<br /> )<br />/<br />CREATE TABLE " DOCENTE" <br /> (" CODDOCENTE" NUMBER(*,0), <br />" NOMDOCENTE" CHAR(60), <br />" FECNACDOCENTE" DATE, <br />" PREGRADODOCENTE" CHAR(100), <br />" POSTGRADODOCENTE" CHAR(100), <br />" FECINGREDOCENTE" DATE, <br /> PRIMARY KEY (" CODDOCENTE" ) ENABLE<br /> )<br />/<br />CREATE TABLE " FACULTAD" <br /> (" CODFACULTAD" NUMBER(*,0), <br />" NOMFACULTAD" CHAR(20), <br /> PRIMARY KEY (" CODFACULTAD" ) ENABLE<br /> )<br />/<br />CREATE TABLE " PRERREQUISITO" <br /> (" CODPRERREQUISITO" NUMBER(*,0), <br />" NOMPRERREQUISITO" CHAR(30), <br /> PRIMARY KEY (" CODPRERREQUISITO" ) ENABLE<br /> )<br />/<br />CREATE TABLE " PROGRAMA" <br /> (" CODPROGRAMA" NUMBER, <br />" CODFACULTAD" NUMBER, <br />" NOMPROGRAMA" CHAR(20), <br /> CONSTRAINT " PROGRAMA_PK" PRIMARY KEY (" CODPROGRAMA" ) ENABLE, <br /> CONSTRAINT " PROGRAMA_FK" FOREIGN KEY (" CODFACULTAD" )<br /> REFERENCES " FACULTAD" (" CODFACULTAD" ) ENABLE<br /> )<br />/<br />CREATE TABLE " SALON" <br /> (" CODSALON" NUMBER, <br />" CODBLOQUE" NUMBER, <br />" NOMSALON" CHAR(20), <br /> CONSTRAINT " SALON_PK" PRIMARY KEY (" CODSALON" ) ENABLE, <br /> CONSTRAINT " SALON_FK" FOREIGN KEY (" CODBLOQUE" )<br /> REFERENCES " BLOQUE" (" CODBLOQUE" ) ENABLE<br /> )<br />/<br />ESQUEMA DEL MODELO<br />30099040640<br />1339215247650<br />1691640120650<br />1710690305435<br />-127635-137795<br />1482090243840<br />1339215144145<br />143446559182011487153192145<br />

×