SELECT CONCAT(employees.first_name,' ', employees.last_name) AS full_name,
cpf, teams.name AS equipe,
job_titles.name AS cargo FROM employees
JOIN teams ON employees.team_id = teams.id
JOIN job_titles ON employees.job_title_id = job_titles.id
ORDER BY CPF;
SELECT CONCAT(employees.first_name,' ', employees.last_name) AS full_name, cpf, teams.name AS equipe, job_titles.name AS cargo FROM employees JOIN teams ON employees.team_id = teams.id JOIN job_titles ON employees.job_title_id = job_titles.id ORDER BY CPF;