SELECT *
from siger_project_flexible_logistic_task lt
left join siger_project_flexible_site fs
on lt.SectionId = fs.sectionId and fs.`status` = 1