-
-
Save parzibyte/d0f7b3f3c465c19951c4e9fc56b5bd17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create database if not exists sistema_ventas; | |
use sistema_ventas; | |
create table if not exists productos( | |
id bigint unsigned not null auto_increment, | |
codigo varchar(255) not null, | |
descripcion varchar(255) not null, | |
precioCompra decimal(9, 2) not null, | |
precioVenta decimal(9, 2) not null, | |
existencia decimal(9, 2) not null, | |
primary key(id) | |
); | |
create table if not exists clientes( | |
id bigint unsigned not null auto_increment, | |
nombre varchar(255) not null, | |
correo varchar(255) not null, | |
primary key(id) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment