Mudança
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
create table produto (
|
||||
id int auto_increment primary key,
|
||||
nome varchar(100) not null,
|
||||
preco decimal(10,2) not null,
|
||||
estoque int not null
|
||||
);
|
||||
|
||||
#Carga inicial do banco
|
||||
insert into produto (nome,preco,estoque)
|
||||
values ('Bola',12.50,10);
|
||||
|
||||
#Exemplo de consulta
|
||||
insert into produto (nome,preco,estoque)
|
||||
values ('PS5',3950.50,5);
|
||||
|
||||
#select * from produto;
|
||||
|
||||
#delete from produto where id
|
||||
Reference in New Issue
Block a user