Server shutdown in progress
SELECT id,title,requirement,company,experience,city,site,source_url,category,description,employment_conditions,salary_offered,(CASE WHEN date_posted = date_start and date_start >='2024-03-29' THEN 1 WHEN date_start >= '2024-04-28' THEN 1 ELSE 0 END ) as nbr_active,(CASE WHEN premium =1 THEN 0 ELSE 0 END ) as premium,(CASE WHEN title like '%Intervenant%' THEN 4 ELSE 0 END ) as nbr_title_0,(CASE WHEN description like '%Intervenant%' THEN 2 ELSE 0 END ) as nbr_keyword_0,(CASE WHEN title like '%Intervenant%' OR description like '%Intervenant%' OR requirement like '%Intervenant%' THEN 1 ELSE 0 END ) as nbr_key_0,(CASE WHEN title like '%social%' THEN 2 ELSE 0 END ) as nbr_title_1,(CASE WHEN description like '%social%' THEN 1 ELSE 0 END ) as nbr_keyword_1,(CASE WHEN title like '%social%' OR description like '%social%' OR requirement like '%social%' THEN 1 ELSE 0 END ) as nbr_key_1,(CASE WHEN title like '%chef%' THEN 2 ELSE 0 END ) as nbr_title_2,(CASE WHEN description like '%chef%' THEN 1 ELSE 0 END ) as nbr_keyword_2,(CASE WHEN title like '%chef%' OR description like '%chef%' OR requirement like '%chef%' THEN 1 ELSE 0 END ) as nbr_key_2,(CASE WHEN title like '%equipe%' THEN 2 ELSE 0 END ) as nbr_title_4,(CASE WHEN description like '%equipe%' THEN 1 ELSE 0 END ) as nbr_keyword_4,(CASE WHEN title like '%equipe%' OR description like '%equipe%' OR requirement like '%equipe%' THEN 1 ELSE 0 END ) as nbr_key_4,date_insertion,date_start,(CASE WHEN date_posted >= '2024-04-21' THEN 1 ELSE 0 END ) as nbr_week,(CASE WHEN date_posted >= '2024-03-29' THEN 1 ELSE 0 END ) as nbr_month FROM jobs WHERE status = 1 AND (state = 'quebec' OR state = 'qc') AND date_posted <= '2024-04-28' AND city like '%Saint-Jérôme%' AND salary_offered REGEXP '^22[^0-9]' AND MATCH(title,company,description,tags) AGAINST ('Intervenant social chef d equipe') ORDER BY nbr_active DESC,nbr_title_0 +nbr_title_1 +nbr_title_2 +nbr_title_4 DESC,date_posted DESC,nbr_key_0 +nbr_key_1 +nbr_key_2 +nbr_key_4 DESC,nbr_keyword_0 +nbr_keyword_1 +nbr_keyword_2 +nbr_keyword_4 DESC,description ASC,id DESC LIMIT 0 , 100