1.33 ms (56.55%)
|
1 |
SELECT w0_.id AS id_0, w0_.locale AS locale_1, w0_.banner AS banner_2, w0_.name AS name_3, w0_.title AS title_4, w0_.content AS content_5, w0_.close_content AS close_content_6, w0_.rules AS rules_7, w0_.disclaimer AS disclaimer_8, w0_.carousel_caption AS carousel_caption_9, w0_.carousel_image_url AS carousel_image_url_10, w0_.carousel_image_link AS carousel_image_link_11, w0_.popup_image_url AS popup_image_url_12, w0_.popup_image_link AS popup_image_link_13, w0_.popup_caption AS popup_caption_14, w0_.contest_id AS contest_id_15 FROM wsc_contest_locale w0_ INNER JOIN wsc_contests w1_ ON w0_.contest_id = w1_.id WHERE w1_.is_activated = 1 AND w0_.locale = ? AND w1_.start_date <= ? AND w1_.end_date >= ? ORDER BY w1_.start_date DESC
Parameters: [
"fr"
"2024-11-26 11:33:36"
"2024-11-26 11:33:36"
]
SELECT w0_.id AS id_0, w0_.locale AS locale_1, w0_.banner AS banner_2, w0_.name AS name_3, w0_.title AS title_4, w0_.content AS content_5, w0_.close_content AS close_content_6, w0_.rules AS rules_7, w0_.disclaimer AS disclaimer_8, w0_.carousel_caption AS carousel_caption_9, w0_.carousel_image_url AS carousel_image_url_10, w0_.carousel_image_link AS carousel_image_link_11, w0_.popup_image_url AS popup_image_url_12, w0_.popup_image_link AS popup_image_link_13, w0_.popup_caption AS popup_caption_14, w0_.contest_id AS contest_id_15 FROM wsc_contest_locale w0_ INNER JOIN wsc_contests w1_ ON w0_.contest_id = w1_.id WHERE w1_.is_activated = 1 AND w0_.locale = 'fr' AND w1_.start_date <= '2024-11-26 11:33:36' AND w1_.end_date >= '2024-11-26 11:33:36' ORDER BY w1_.start_date DESC;
|
1.02 ms (43.45%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_activated AS is_activated_3, t0.start_date AS start_date_4, t0.end_date AS end_date_5, t0.custom_css AS custom_css_6, t0.custom_javascript AS custom_javascript_7, t0.preview_token AS preview_token_8, t0.template_name AS template_name_9, t0.survey_id AS survey_id_10 FROM wsc_contests t0 WHERE t0.id IN (?)
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_activated AS is_activated_3, t0.start_date AS start_date_4, t0.end_date AS end_date_5, t0.custom_css AS custom_css_6, t0.custom_javascript AS custom_javascript_7, t0.preview_token AS preview_token_8, t0.template_name AS template_name_9, t0.survey_id AS survey_id_10 FROM wsc_contests t0 WHERE t0.id IN (24);
|