PAII-TUSI-FRGP / Grupo1_TP4

TP4
0 stars 0 forks source link

US 01 Desarrollo de TP4 PAII #1

Open gaston5050 opened 4 days ago

gaston5050 commented 4 days ago

id int(11) NOT NULL AUTO_INCREMENT, descripcion varchar(25) NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS articulo ( id int(11) NOT NULL, nombre varchar(25) NOT NULL, stock int(11) NOT NULL, idCategoria int(11) NOT NULL, PRIMARY KEY (id), FOREIGN KEY (idCategoria) REFERENCES categoria(id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;