Warning: get_class() called without object from outside a class in /home/storage/2/6d/02/apoiogeneticapro1/public_html/index.php on line 70 Apoio Genética - Página Nova
SELECT
vPessoa.PessoaID,
vPessoa.Nome,
vPessoa.Email,
vPessoa.SetorID,
vPessoa.SetorNome,
vPessoa.Twitter,
vPessoa.WhatsApp,
vPessoa.TelefoneFixo,
vPessoa.TelefoneCelular,
vPessoa.Foto,
vPessoa.Sexo
FROM
vPessoa
WHERE
FIND_IN_SET(5, vPessoa.PerfilID) AND
vPessoa.SetorID IS NOT NULL AND (FIND_IN_SET(12, vPessoa.SetorID) OR FIND_IN_SET(13, vPessoa.SetorID) OR FIND_IN_SET(14, vPessoa.SetorID)) AND
vPessoa.Visivel = 1
ORDER BY
vPessoa.SetorNome, vPessoa.Nome