Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $tabla_usuarios_servicios = 'create table if not exists usuarios_servicios (
- cod_alquiler int(10),
- dni varchar(9) not null,
- descuento int(2) not null,
- fecha date not null,
- fecha_fin date not null,
- hora varchar(8) not null,
- forma_pago varchar(16) not null,
- dni varchar(9) not null,
- cod_servicio varchar(4) not null,
- primary key (cod_alquiler),
- foreign key (dni) references usuarios (dni),
- foreign key (cod_servicio) references servicios (cod_servicio)
- ) TYPE = INNODB;';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement