SELECT `employer`.*
FROM `EmployesInfo` AS `employer`
RIGHT JOIN `EmployesInfo` AS `chief` ON `employer`.`ChiefId` = `chief`.`emplId`
RIGHT JOIN (SELECT `ChiefId`, COUNT(`ChiefId`) AS `count`
FROM `EmployesInfo`
GROUP BY `ChiefId`
HAVING `count` >= 3) AS `sub` ON `employer`.`ChiefId` = `sub`.`ChiefId`
WHERE `chief`.`EmplCar` IS NOT NULL
SELECT emplId
FROM EmployesInfo
WHERE ChiefId IN (
SELECT emplId
FROM EmployesInfo
--Находим шефов
WHERE emplId IN (
SELECT ChiefId
FROM EmployesInfo
GROUP BY ChiefId
--Что бы ему подчинялось >= 3 человека
HAVING count(1) >= 3
)
--Уточняем что шеф не нищеброт и у него есть машина
AND EmplCar IS NOT NULL
)