Objetivo: Criar app: export_colaborador.php
1. Stack: PHP & MYSQL
2. Utilizar PHP puro sem componentes externos tipo composer
3.

Sequencia:
1. Mapeamento das tabelas: cliente, colaborador
1. Solicitar via: select cliente (
2. Filtro: Cliente AND colaborador.status_idstatus
3. 


<resultado-exemplo>
CPF|e-mail|Primeiro nome e segundo nome|Sobrenome|Data de Nascimento|Nome da mãe|Cep|Endereço|Número|Bairro|Cidade|UF|Complemento|Celular|Time
00938605879|wandermotta@hotmail.com|Wander Motta|Siqueira|07/02/1961|Maria Aparecida Santos Siqueira|06080-110|Rua Pedro Miliauskas|201|Vila Osasco|Osasco|SP|Casa|(11) 996947374|TI
</resultado-exemplo>
														
<tabela>
TABLE: `colaborador` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `cpf` char(11) NOT NULL,
  `email` varchar(150) NOT NULL,
  `nome_completo` varchar(200) NOT NULL,
  `celular` varchar(20) NOT NULL,
  `departamento_id` int(11) NOT NULL DEFAULT 1,
  `endereco` varchar(150) NOT NULL,
  `nr` varchar(10) NOT NULL,
  `bairro` varchar(45) NOT NULL,
  `cidade` varchar(60) NOT NULL,
  `estado_id` int(11) NOT NULL DEFAULT 1,
  `dt_nascimento` date NOT NULL,
  `nome_mae` varchar(100) NOT NULL,
  `cep` varchar(10) NOT NULL,
  `complemento` varchar(20) DEFAULT NULL,
  `status_idstatus` int(1) unsigned zerofill NOT NULL DEFAULT 1,
  `cliente_id` int(5) NOT NULL,
  `usuarios_id` int(3) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_colab_tenant_cpf` (`cpf`),
  UNIQUE KEY `uk_colab_tenant_id` (`id`),
  KEY `fk_colaborador_estado1_idx` (`estado_id`),
  KEY `fk_colab_departamento` (`departamento_id`),
  KEY `fk_colaborador_status1_idx` (`status_idstatus`),
  KEY `fk_colaborador_cliente1_idx` (`cliente_id`),
  KEY `fk_colaborador_usuarios1_idx` (`usuarios_id`),
  CONSTRAINT `fk_colab_departamento` FOREIGN KEY (`departamento_id`) REFERENCES `departamento` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE,
  CONSTRAINT `fk_colaborador_cliente1` FOREIGN KEY (`cliente_id`) REFERENCES `cliente` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_colaborador_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_colaborador_status1` FOREIGN KEY (`status_idstatus`) REFERENCES `status_colaborador` (`idstatus`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_colaborador_usuarios1` FOREIGN KEY (`usuarios_id`) REFERENCES `usuarios` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
</tabela>