Skip to content

Commit

Permalink
chore: create database inserts
Browse files Browse the repository at this point in the history
  • Loading branch information
Salgado2004 committed Nov 3, 2024
1 parent f302b8f commit ed90d06
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/main/resources/scripts/database_inserts.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
INSERT INTO endereco (numero, logradouro, bairro, cidade) VALUES
('123', 'Rua XV de Novembro', 'Centro', 'Curitiba'),
('456', 'Avenida Sete de Setembro', 'Batel', 'Curitiba'),
('789', 'Rua Marechal Deodoro', 'Centro', 'Curitiba'),
('101', 'Rua das Flores', 'Centro', 'Curitiba'),
('202', 'Rua Comendador Araújo', 'Centro', 'Curitiba'),
('303', 'Rua João Gualberto', 'Alto da Glória', 'Curitiba'),
('404', 'Rua Mateus Leme', 'São Francisco', 'Curitiba'),
('505', 'Rua Visconde de Nácar', 'Centro', 'Curitiba'),
('606', 'Rua Conselheiro Laurindo', 'Centro', 'Curitiba'),
('707', 'Rua Barão do Rio Branco', 'Centro', 'Curitiba'),
('808', 'Rua Humberto de Campos', 'Centro', 'Pinhais'),
('909', 'Rua Jacob Macanhan', 'Centro', 'Pinhais'),
('1010', 'Rua Maria Antonieta dos Santos', 'Centro', 'Pinhais'),
('1111', 'Rua Rio Amazonas', 'Centro', 'Pinhais'),
('1212', 'Rua Rio Iguaçu', 'Centro', 'Pinhais');

INSERT INTO cliente (cpf, nome, sobrenome, rg, idEndereco) VALUES
('94831227080', 'Pedro', 'Souza', '129711280', 1),
('88543471087', 'Alisson', 'Santos', '119264210', 2),
('63287208071', 'Leonardo', 'Salgado', '129321481', 13),
('31057053090', 'Raul', 'Bana', '130632776', 3),
('12345678909', 'Maria', 'Silva', '123456789', 4),
('98765432100', 'João', 'Pereira', '987654321', 5),
('11122233344', 'Ana', 'Costa', '111222333', 6),
('55566677788', 'Carlos', 'Oliveira', '555666777', 7),
('99988877766', 'Fernanda', 'Almeida', '999888777', 8),
('44455566677', 'Paulo', 'Souza', '444555666', 9),
('22233344455', 'Juliana', 'Mendes', '222333444', 10);

INSERT INTO conta (cpfCliente, saldo) VALUES
('94831227080', 1000.00),
('88543471087', 1500.00),
('63287208071', 2000.00),
('31057053090', 2500.00),
('12345678909', 3000.00),
('98765432100', 3500.00);

INSERT INTO contaCorrente (numeroConta, limite, depositoInicial) VALUES
(1, 500.00, 1000.00),
(2, 1000.00, 1500.00),
(3, 1500.00, 2000.00);

INSERT INTO contaInvestimento (numeroConta, depositoInicial, depositoMinimo, montanteMinimo) VALUES
(4, 2000.00, 1000.00, 2000.00),
(5, 2500.00, 1500.00, 2500.00),
(6, 3000.00, 2000.00, 3000.00);

0 comments on commit ed90d06

Please sign in to comment.