Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create table Venta(
- Id serial not null,
- NombreCliente char(25) not null,
- Fecha date not null,
- LocalComercial char(25) not null,
- CedJuridica char(15) not null,
- Telefono char(10) not null
- CONSTRAINT PK_PRODUCTO PRIMARY KEY(Id)
- );
- create table VentaXProducto(
- IdVenta int not null REFERENCES Venta(Id),
- IdProducto int not null REFERENCES Productos(Id),
- Cantidad int not null,
- Area char(25) not null,
- PrecioUnitario int not null,
- ImpuestoUnitario float not null
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement