Código SQL:
Ver original
SELECT * FROM ( SELECT tl.idperson, tl.firstName, tl.lastName, tl.telephone, tl.degreeOfInterest, l.appointmentDate, e.firstName, i.marketability FROM `todos_los_leads` AS tl INNER JOIN leads AS l ON tl.idperson = l.idPerson INNER JOIN empleados AS e ON tl.idEmployee = e.idEmployee INNER JOIN infonavit AS i ON tl.idInfonavit = i.idInfonavit UNION ALL SELECT s.monthlyIncome FROM `todos_los_leads` AS tl INNER JOIN shf AS s ON tl.idSHF = s.idSHF )