numarriendo interger not null,
numpropiedad char(4),
numcliente char (4),
renta float,
formapago char(10),
deposito float,
pagado char (1),
iniciorenta date,
finrenta date,
constraint pk_arriendo primary key (numarriendo) );*/drop table t1create
id table t1 ( integer not null ,nombre
apellido varchar (25), varchar (30),fecha
constraintdate, pk_t1 primary key (id) );desc t1INSERT into T1 values (1,'luisa', 'apaz', '27/10/1978');INSERT
select
**************Apuntes******************
Opciones de crear llaves primaria
Ejemplos
Numarriendo integer not null primary key,
Constraint pk_arriendo primary key (numarriendo);
Ddl : CREA
Ejemplo
CREATE TABLE
Dml: MANIPULA DATOS
LENG
INSERT UPDATE DELETE
into T1 values (2,'mary', 'gutierrez', sysdate); * from t1
No hay comentarios:
Publicar un comentario