Limited time only get and extra

Gifts and Festivals

SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_varchar` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (2826, 3219, 3297, 3293, 3273, 3256, 3252, 3246, 3242, 3236, 3232, 3228, 3224, 3221, 3220, 2073, 3209, 3036, 3005, 2817, 2129, 2124, 2098, 2088, 2085, 2075, 2074)) AND (t_d.attribute_id IN ('73', '87', '88', '89', '109', '110', '111', '118', '126', '154')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_text` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_text` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (2826, 3219, 3297, 3293, 3273, 3256, 3252, 3246, 3242, 3236, 3232, 3228, 3224, 3221, 3220, 2073, 3209, 3036, 3005, 2817, 2129, 2124, 2098, 2088, 2085, 2075, 2074)) AND (t_d.attribute_id IN ('76')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_decimal` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_decimal` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (2826, 3219, 3297, 3293, 3273, 3256, 3252, 3246, 3242, 3236, 3232, 3228, 3224, 3221, 3220, 2073, 3209, 3036, 3005, 2817, 2129, 2124, 2098, 2088, 2085, 2075, 2074)) AND (t_d.attribute_id IN ('78', '117')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_datetime` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_datetime` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (2826, 3219, 3297, 3293, 3273, 3256, 3252, 3246, 3242, 3236, 3232, 3228, 3224, 3221, 3220, 2073, 3209, 3036, 3005, 2817, 2129, 2124, 2098, 2088, 2085, 2075, 2074)) AND (t_d.attribute_id IN ('79', '80', '94', '95')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_int` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (2826, 3219, 3297, 3293, 3273, 3256, 3252, 3246, 3242, 3236, 3232, 3228, 3224, 3221, 3220, 2073, 3209, 3036, 3005, 2817, 2129, 2124, 2098, 2088, 2085, 2075, 2074)) AND (t_d.attribute_id IN ('93', '97', '119', '121', '122', '123', '128', '131', '133', '141')) AND (t_d.store_id = IFNULL(t_s.store_id, 0))