Your SlideShare is downloading. ×
Codigo Ceclav
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Codigo Ceclav

221
views

Published on

Published in: Technology, Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
221
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
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. FECHA_NACIMIENTO DATE NOT NULL,
    TELEFONO NUMERIC (10) NULL,
    CONSTRAINT PK_ALUMNO PRIMARY KEY (ID_ALUMNO)
    );
    USE CECLAV
    CREATE TABLE PROMOTOR (
    ID_PROMOTOR NUMERIC (5) NOT NULL,
    NOMBRE_PROMOTOR CHAR (30) NOT NULL,
    APELLIDO_PATERNO CHAR (20) NOT NULL,
    APELLIDO_MATERNO CHAR (20) NOT NULL,
    TELEFONO NUMERIC (10) NULL,
    DIRECCION CHAR (30) NOT NULL,
    CONSTRAINT PK_PROMOTOR PRIMARY KEY (ID_PROMOTOR)
    );
    USE CECLAV
    CREATE TABLE INSCRIPCION(
    ID_INSCRIPCION NUMERIC (5) NOT NULL,
    ID_CURSO NUMERIC(5) NOT NULL,
    ID_PROFESOR NUMERIC (5) NOT NULL,
    ID_ALUMNO NUMERIC (5) NOT NULL,
    ID_PROMOTOR NUMERIC (5) NOT NULL,
    COSTO_INSCRIPCION CHAR NOT NULL,
    CONSTRAINT PK_INSCRIPCION PRIMARY KEY (ID_INSCRIPCION),
    CONSTRAINT FK_CURSO FOREIGN KEY (ID_CURSO) REFERENCES CURSO (ID_CURSO),
    CONSTRAINT FK_PROFESOR FOREIGN KEY (ID_PROFESOR) REFERENCES PROFESOR (ID_PROFESOR),
    CONSTRAINT FK_ALUMNO FOREIGN KEY (ID_ALUMNO) REFERENCES ALUMNO (ID_ALUMNO),
    CONSTRAINT FK_PROMOTOR FOREIGN KEY (ID_PROMOTOR) REFERENCES PROMOTOR (ID_PROMOTOR)
    );