Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Inserçoes
- ---Inserts ADM
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('12345678901234567001', '19216800001', '1900-01-03', '123456001', 'Madoka Kaname', NULL, NULL, '12345678901234567001');
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('12345678901234567002', '19216800002', '1900-01-03', '123456002', 'Homura Akemi', NULL, NULL, '12345678901234567002');
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('12345678901234567003', '19216800003', '2000-11-11', '123456003', 'Sayaka Miki', NULL, NULL, '12345678901234567003');
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('12345678901234567004', '19216800004', '1998-02-13', '123456004', 'Mami Tomoe', NULL, NULL, '12345678901234567004');
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('12345678901234567005', '19216800005', '2000-04-03', '123456005', 'Kyoko Sakura', NULL, NULL, '12345678901234567005');
- ---INSERTS Suporte
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('1', '19216800101', '1996-01-01', '123451001', 'Bobby Goodfeather', '1', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('2', '19216800102', '1996-01-01', '123451002', 'Squit Goodfeather', '2', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('3', '19216800103', '1996-01-01', '123451003', 'Pesto Goodfeather', '3', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('4', '19216800104', '1996-01-01', '123451004', 'Miaasmime', '4', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('5', '19216800105', '1996-01-01', '123451005', 'Cesphusveko', '5', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('6', '19216800106', '1996-01-01', '123451006', 'Gaphan', '6', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('7', '19216800107', '1996-01-01', '123451007', 'Zella', '7', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('8', '19216800108', '1996-01-01', '123451008', 'Cusbarra', '8', NULL, NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('9', '19216800109', '1996-01-01', '123451009', 'Baellesiashau', '9', NULL, NULL);
- ---Insert gerentes
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('10', '19216800301', '1998-01-01', '123451001', 'Logan Seaton',NULL, '10', NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('11', '19216800302', '1998-01-01', '123451001', 'Colin Greaves', NULL, '11',NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('12', '19216800303', '1998-01-01', '123451001', 'Preston Shawcross', NULL,'12', NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('13', '19216800304', '1998-01-01', '123451001', 'Rafferty Tannenbay', NULL,'13', NULL);
- INSERT INTO `funcionario` (`Matricula`, `CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Suporte`, `Gerente_setorial`, `Administradores_gerais_da_festa`) VALUES ('14', '19216800305', '1998-01-01', '123451001', 'Charles Claymoore', NULL, '14', NULL);
- ----------Administradores gerais
- INSERT INTO `administradores_gerais_da_festa` (`Matricula`) VALUES ('12345678901234567001'), ('12345678901234567002'), ('12345678901234567003'), ('12345678901234567004'), ('12345678901234567005');
- -------Gerentes setoriais
- INSERT INTO `gerente_setorial` (`Matricula`, `Setor`) VALUES ('10', 'RH');
- INSERT INTO `gerente_setorial` (`Matricula`, `Setor`) VALUES ('11', 'Contabilidade');
- INSERT INTO `gerente_setorial` (`Matricula`, `Setor`) VALUES ('12', 'Imprensa');
- INSERT INTO `gerente_setorial` (`Matricula`, `Setor`) VALUES ('13', 'Refeições');
- INSERT INTO `gerente_setorial` (`Matricula`, `Setor`) VALUES ('14', 'Horarios');
- ----Suporte
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('1', 'Segurança do trabalho', '12345678901234567001');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('2', 'Segurança do trabalho', '12345678901234567001');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('3', 'Segurança do trabalho', '12345678901234567001');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('4', 'Contabilidade', '11');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('5', 'Contabilidade', '11');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('6', 'Imprensa', '12');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('7', 'Refeições', '13');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('8', 'Refeições', '13');
- INSERT INTO `suporte` (`Matricula`, `Area`, `Matricula_do_superior`) VALUES ('9', 'Refeições', '13');
- --Insert expositor
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864000', 'Keinan Rodríguez', '380072488');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864001', 'Emilia Garnet Wilmer', '123937914');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864002', 'Mao Baudelio Powers', '878525120');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864003', 'Abigaíl Justice King', '438113350');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864004', 'Autumn Lucia Tanner', '982626060');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864005', 'Hikaru Miguelito Morse', '950819302');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864006', 'Marcelino Portia Chadwick', '411368196');
- INSERT INTO `expositor` (`CPF`, `Nome`, `Conta_no_banco`) VALUES ('56318864007', 'Christi Zelda Lyon', '177541388');
- --Insert fornecedores
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000120', 'Cadeiras legais', '1000000001');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000121', 'Computadores esquina X', '1000000002');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000122', 'Barracas supimpas', '1000000003');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000123', 'Tomatoes Caaui Kawaii', '1000000004');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000124', 'Aviação ombreira azul', '1000000005');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000125', 'No break als', '1000000006');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000126', 'Cortana Ex', '1000000007');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('19956434000198', 'Nintendo Games', '1000000008');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000128', 'Condensadores Eamo', '1000000009');
- INSERT INTO `fornecedor` (`CNPJ`, `Nome_da_empresa`, `Ordem_de_pedido`) VALUES ('61828257000129', 'Mesas OP games', '1000000010');
- --Insert Objetos //O primeiro elemento ordem de pedido deve estar nos fornecedores também
- INSERT INTO `objetos` (`Ordem_de_pedido`, `Entidade_Fornecida`, `Tipo_de_objeto`) VALUES ('1000000001', '400x Cadeira simples', 'Cadeiras');
- --Insert Participantes pagantes (O penultimo campo deve ser igual ao cpf)
- INSERT INTO `participante` (`CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Pagante`, `Isentos`) VALUES ('15318864000', '1997-11-28', '123356001', 'Korrina Mendes Albuquerque', '15318864000', NULL);
- --Insert Participantes isentos (O ultimo campo deve ser igual ao cpf)
- INSERT INTO `participante` (`CPF`, `Data_de_Nascimento`, `RG`, `Nome`, `Pagante`, `Isentos`) VALUES ('15313164000', '1982-09-14', '127256001', 'Alfred Mondel Raruhiro', NULL, '15313164000');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement