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-08-25' THEN 1 WHEN date_start >= '2024-09-24' THEN 1 ELSE 0 END ) as nbr_active,(CASE WHEN premium =1 THEN 0 ELSE 0 END ) as premium,(CASE WHEN title like '%Ingenieur%' THEN 4 ELSE 0 END ) as nbr_title_0,(CASE WHEN description like '%Ingenieur%' THEN 2 ELSE 0 END ) as nbr_keyword_0,(CASE WHEN title like '%Ingenieur%' OR description like '%Ingenieur%' OR requirement like '%Ingenieur%' THEN 1 ELSE 0 END ) as nbr_key_0,(CASE WHEN title like '%produits%' THEN 2 ELSE 0 END ) as nbr_title_2,(CASE WHEN description like '%produits%' THEN 1 ELSE 0 END ) as nbr_keyword_2,(CASE WHEN title like '%produits%' OR description like '%produits%' OR requirement like '%produits%' THEN 1 ELSE 0 END ) as nbr_key_2,(CASE WHEN title like '%recherche%' THEN 2 ELSE 0 END ) as nbr_title_4,(CASE WHEN description like '%recherche%' THEN 1 ELSE 0 END ) as nbr_keyword_4,(CASE WHEN title like '%recherche%' OR description like '%recherche%' OR requirement like '%recherche%' THEN 1 ELSE 0 END ) as nbr_key_4,(CASE WHEN title like '%developpement%' THEN 2 ELSE 0 END ) as nbr_title_6,(CASE WHEN description like '%developpement%' THEN 1 ELSE 0 END ) as nbr_keyword_6,(CASE WHEN title like '%developpement%' OR description like '%developpement%' OR requirement like '%developpement%' THEN 1 ELSE 0 END ) as nbr_key_6,(CASE WHEN title like '%photonique%' THEN 2 ELSE 0 END ) as nbr_title_7,(CASE WHEN description like '%photonique%' THEN 1 ELSE 0 END ) as nbr_keyword_7,(CASE WHEN title like '%photonique%' OR description like '%photonique%' OR requirement like '%photonique%' THEN 1 ELSE 0 END ) as nbr_key_7,date_insertion,date_start,(CASE WHEN date_posted >= '2024-09-17' THEN 1 ELSE 0 END ) as nbr_week,(CASE WHEN date_posted >= '2024-08-25' THEN 1 ELSE 0 END ) as nbr_month FROM jobs WHERE status = 1 AND (state = 'quebec' OR state = 'qc') AND date_posted <= '2024-09-24' AND city like '%Sainte-Marie%' AND salary_offered REGEXP '^30[^0-9]' AND MATCH(title,company,description,tags) AGAINST ('Ingenieur de produits en recherche et developpement photonique') ORDER BY nbr_active DESC,nbr_title_0 +nbr_title_2 +nbr_title_4 +nbr_title_6 +nbr_title_7 DESC,date_posted DESC,nbr_key_0 +nbr_key_2 +nbr_key_4 +nbr_key_6 +nbr_key_7 DESC,nbr_keyword_0 +nbr_keyword_2 +nbr_keyword_4 +nbr_keyword_6 +nbr_keyword_7 DESC,description ASC,id DESC LIMIT 0 , 100