This commit is contained in:
2026-05-22 19:44:04 -03:00
parent 226c0aac47
commit 677af4118f
6 changed files with 77 additions and 0 deletions
+18
View File
@@ -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