consultas

1

Click here to load reader

Upload: profnery-boj

Post on 16-Apr-2017

74 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Consultas

SELECT carnet,nombres from estudiantes where carnet='2016-020';

Delete from estudiantes where carnet=’2016-020’;

Delete from estudiantes where carnet=[Ingrese el carnet que desea eliminar];

Insert into estudiantes values(‘2016-000’,’Castillo’,’Juan’,1,1);

Insert into estudiantes values([Ingrese el carnet],[Ingrese el apellido],[Ingrese el nombre],[Ingrese el numero de grado],[Ingrese el numero de seccion]);

Update estudiantes set Apellidos=’Juarez’,Nombres=’Julio’ where carnet=’2016-200’