Your SlideShare is downloading. ×
base de datos de un colegio
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

base de datos de un colegio

910
views

Published on

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
910
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
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. Base de datos de colegio
  • 2. Alumno CREATE TABLE `alumno` ( `cod_alum` VARCHAR(6) NOT NULL , `nombre` VARCHAR(30) DEFAULT NULL, `apellido` VARCHAR(40) DEFAULT NULL, `dirección` VARCHAR(60) DEFAULT NULL, PRIMARY KEY (`cod_alum`)) INSERT INTO `alumno`(`cod_alum`,`nombre`,`apellido`,`direccion`) VALUES ('001','Manuel','Reyes Palomino','San juan'),('002','Samanta','Vargas Machuca','Chorrillos'); INSERT INTO `alumno`(`cod_alum`,`nombre`,`apellido`,`direccion`) VALUES ('003','Raquel','Mano Alvaro','San juan'),('004','Juan','Maquez Hidalgo','Chorrillos'); INSERT INTO `alumno`(`cod_alum`,`nombre`,`apellido`,`direccion`) VALUES ('005','Carmen','Peña Salas','San Isidro');
  • 3. Matricula CREATE TABLE `matricula` ( `cod_matricula` VARCHAR(6) NOT NULL , `fecha` DATETIME DEFAULT NULL, `seccion` CHAR(3) DEFAULT NULL, `grado` CHAR(3) DEFAULT NULL, `nivel` VARCHAR(15) DEFAULT NULL, PRIMARY KEY (`cod_matricula`))