SELECT url_to, r404 FROM pod_redirect WHERE BINARY REPLACE(url_from,'/ru/','/') = '/konstruktor_dlya_devochek/o_5-o_8-o_13-developing-constructor_sets.html' LIMIT 0,1 [0.00022697448730469 sec]
SELECT pod_filter.id,pod_filter.url FROM pod_filter WHERE BINARY pod_filter.url IN ('o_5','o_8','o_13','developing','constructor_sets') order by url [0.00069999694824219 sec]
SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('o_5','o_8','o_13','developing','constructor_sets') order by url [0.0005338191986084 sec]
SELECT id, url FROM pod_filter WHERE url IN ('o_5','o_8','o_13','developing','constructor_sets') [0.00082802772521973 sec]
SELECT id, url FROM pod_sub_icon WHERE url IN ('o_5','o_8','o_13','developing','constructor_sets') [0.00059080123901367 sec]
SELECT f.id, mf.id as mf_id, mf.is_split FROM pod_filter f INNER JOIN pod_filter mf ON f.entry = mf.id WHERE f.id in (466,463,379,363,366) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00020313262939453 sec]
SELECT g.id -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT g.id -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active [0.058954954147339 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2aa2a201fd3 ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00043392181396484 sec]
INSERT INTO temp_brand_counts_6a2aa2a201fd3 (id, gid) SELECT g.brand_id AS id, g.id AS gid -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.brand_id AS id, g.id AS gid -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.brand_id AS id, g.id AS gid -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT g.brand_id AS id, g.id AS gid -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active [0.033384084701538 sec]
SELECT b.id, b.name_ua AS name, pc.name_ua AS country, b.country_id, b.image_icon, b.url, b.ordr, pc.code, COALESCE(tc.count, 0) as count FROM pod_cat_brand b INNER JOIN ( SELECT id, COUNT(gid) as count FROM temp_brand_counts_6a2aa2a201fd3 GROUP BY id HAVING COUNT(gid) > 0 ) tc ON b.id = tc.id LEFT JOIN pod_country pc ON (pc.id = b.country_id AND pc.is_active = 1) WHERE b.is_active = '1' ORDER BY b.ordr [0.00073409080505371 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2aa2a201fd3 [0.00019693374633789 sec]
SELECT MIN(min_price) AS min_price, MAX(max_price) AS max_price FROM ( SELECT MIN(g.price) AS min_price, MAX(g.price) AS max_price -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT MIN(g.price) AS min_price, MAX(g.price) AS max_price -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT MIN(go.price) AS min_price, MAX(go.price) AS max_price -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT MIN(go.price) AS min_price, MAX(go.price) AS max_price -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0051400661468506 sec]
SELECT g.id, if(g.is_present and g.price >= '229' and g.price <= '2499',least(g.price,ifnull(min(pcg.price),g.price)),ifnull(min(pcg.price),g.price)) min_sort_price , if(g.is_present and g.price >= '229' and g.price <= '2499',greatest(g.price,ifnull(max(pcg.price),g.price)),ifnull(max(pcg.price),g.price)) max_sort_price FROM pod_cat_good g LEFT JOIN pod_cat_good pcg ON pcg.entry=g.id and pcg.is_present=1 and pcg.is_present=1 and pcg.price >= '229' and pcg.price <= '2499' WHERE g.id in (474726,443680,443681,443682,452030,478522,478523,478524,486475,498805) GROUP BY g.id ORDER BY g.ordr desc LIMIT 0, 32 [0.0028460025787354 sec]
SELECT g.video, g.threedvideo, g.is_xit, g.is_action, g.is_sale, g.sub_is_action, g.is_new, g.is_pay_for_video, g.id, g.cat_id, g.name_ua AS name, g.name2_ua AS name2, g.descr, g.size_table, g.artikul, g.image_small, g.image_big, g.price, g.old_price, g.is_present, g.is_present_all_mods, g.sub_icon_id,g.url,g.ordr, g.last_items, g.fast_delivery, g.free_delivery, g.gift, g.timer, g.action_validity, b.name_ua AS brand_name,b.url as burl,b.id as bid, b.country AS brand_country,c.url as curl, c.name_ua AS cat_name, si.name_ua AS sub_icon_name,si.icon AS sub_icon, g.star, g.comment_id, if(g.is_present and g.price >= '229' and g.price <= '2499',least(g.price,ifnull(min(pcg.price),g.price)),ifnull(min(pcg.price),g.price)) as min_sort_price, if(g.is_present and g.price >= '229' and g.price <= '2499',greatest(g.price,ifnull(max(pcg.price),g.price)),ifnull(max(pcg.price),g.price)) as max_sort_price FROM pod_cat_good g INNER JOIN pod_cat_category c ON c.id=g.cat_id LEFT JOIN pod_cat_brand b ON b.id=g.brand_id LEFT JOIN pod_sub_icon si ON si.id=g.sub_icon_id LEFT JOIN pod_cat_good pcg ON (pcg.entry=g.id and pcg.is_present=1 and pcg.price >= '229' and pcg.price <= '2499') WHERE g.id in (443681,443682,478522,498805,478523,452030,478524,443680,474726,486475) GROUP BY g.id ORDER BY g.ordr desc [0.001215934753418 sec]
SELECT g.ordr, g.is_xit, g.is_pay_for_video, g.is_action, g.is_sale, g.is_new, g.last_items, g.fast_delivery, g.free_delivery, g.gift, g.timer, g.action_validity, g.id, g.entry, g.name_ua AS name, g.price, g.old_price, g.artikul, g.sub_icon_id, g.is_present, si.name_ua AS sub_icon_name, si.icon AS sub_icon FROM pod_cat_good g LEFT JOIN pod_sub_icon si ON si.id = g.sub_icon_id WHERE g.entry IN (443681,443682,443680,452030,474726,478522,478523,478524,486475,498805) AND g.is_present = '1' AND g.is_active = '1' ORDER BY g.entry, g.is_present DESC [0.00029206275939941 sec]
SELECT DISTINCT ggd2.good_id AS source_good_id, g.id, g.is_present_all_mods, pc.name_ua AS name, g.url, b.url as burl, c.url as curl, g.is_present, pc.code AS color_code, gg.group_type, gg.param_name, gg.param_name_ua, ggd.text_value, ggd.icon_path FROM pod_goods_group_goods ggd2 JOIN pod_goods_group_goods ggd ON ggd2.goods_group_id=ggd.goods_group_id JOIN pod_goods_group gg ON ggd.goods_group_id=gg.id JOIN pod_cat_good g ON g.id=ggd.good_id LEFT JOIN pod_cat_brand b ON g.brand_id=b.id LEFT JOIN pod_cat_category c ON g.cat_id=c.id LEFT JOIN pod_colors pc ON pc.id=ggd.color_id WHERE ggd2.good_id IN (443681,443682,443680,452030,474726,478522,478523,478524,486475,498805) ORDER BY ggd2.good_id, g.is_present_all_mods DESC [0.0007939338684082 sec]
SELECT id, name_ua AS name, url FROM pod_filter WHERE id in (466,463,379,363,366) AND is_active='1' [0.0002288818359375 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012; CREATE TEMPORARY TABLE tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00023198127746582 sec]
INSERT INTO tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 (id) SELECT A.id FROM ( SELECT g.id -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT g.id -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0031330585479736 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012; CREATE TEMPORARY TABLE tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00020694732666016 sec]
INSERT INTO tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (363,366,379,463,466) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 447 INNER JOIN pod_filter fm ON gf.filter_id = fm.id AND fm.is_split = 0 AND fm.is_active INNER JOIN pod_filter f ON gf.filter_id_value = f.id AND f.is_active [0.017129898071289 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012; CREATE TEMPORARY TABLE tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0003349781036377 sec]
INSERT IGNORE INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 p GROUP BY p.filter_id [0.00026297569274902 sec]
SELECT c.filter_id, c.count, f.entry, f.name_ua AS name, f.url, f.ord, fm.name_ua AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 c INNER JOIN pod_filter f ON c.filter_id = f.id INNER JOIN pod_filter fm ON f.entry = fm.id ORDER BY fm.ord DESC, f.ord DESC, c.filter_id [0.00025606155395508 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 [0.00023484230041504 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 [0.00012111663818359 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a210012 [0.00012302398681641 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4; CREATE TEMPORARY TABLE tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00018405914306641 sec]
INSERT INTO tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 (id, entry) SELECT A.id, A.entry FROM ( SELECT g.id as id, g.id as entry -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id as id, g.id as entry -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT go.id as id, g.id as entry -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT go.id as id, g.id as entry -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.010831117630005 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4; CREATE TEMPORARY TABLE tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00028896331787109 sec]
INSERT INTO tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (363,366,379,463,466) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 447 INNER JOIN pod_filter fm ON gf.filter_id = fm.id AND fm.is_split = 1 AND fm.is_active INNER JOIN pod_filter f ON gf.filter_id_value = f.id AND f.is_active [0.0010659694671631 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4; CREATE TEMPORARY TABLE tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00024509429931641 sec]
INSERT IGNORE INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 p GROUP BY p.filter_id [0.00024795532226562 sec]
SELECT c.filter_id, c.count, f.entry, f.name_ua AS name, f.url, f.ord, fm.name_ua AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 c INNER JOIN pod_filter f ON c.filter_id = f.id INNER JOIN pod_filter fm ON f.entry = fm.id ORDER BY fm.ord DESC, f.ord DESC, c.filter_id [0.00024795532226562 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 [0.00020313262939453 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 [9.8943710327148E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a215ae4 [0.00012993812561035 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735; CREATE TEMPORARY TABLE tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY [0.00034308433532715 sec]
INSERT INTO tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 (id, entry) SELECT A.id, A.entry FROM ( SELECT g.id as id, g.id as entry -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id as id, g.id as entry -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT go.id as id, g.id as entry -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT go.id as id, g.id as entry -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0039231777191162 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735; CREATE TEMPORARY TABLE tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY [0.00036501884460449 sec]
INSERT INTO tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id = 262 INNER JOIN pod_filter fm ON gf.filter_id = fm.id AND fm.is_split = 1 AND fm.is_active INNER JOIN pod_filter f ON gf.filter_id_value = f.id AND f.is_active [0.00701904296875 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735; CREATE TEMPORARY TABLE tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY [0.0002129077911377 sec]
INSERT INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 p GROUP BY p.filter_id [0.00020909309387207 sec]
INSERT INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 c ON c.filter_id = pf.id WHERE pf.id in (363,366,379) AND c.filter_id IS NULL [0.00020813941955566 sec]
SELECT c.filter_id, c.count, f.entry, f.name_ua AS name, f.url, f.ord, fm.name_ua AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 c INNER JOIN pod_filter f ON c.filter_id = f.id INNER JOIN pod_filter fm ON f.entry = fm.id ORDER BY fm.ord DESC, f.ord DESC, c.filter_id [0.00023913383483887 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 [0.00016617774963379 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 [8.7976455688477E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a219735 [7.7009201049805E-5 sec]
SELECT f.id, mf.id as mf_id, mf.is_split FROM pod_filter f INNER JOIN pod_filter mf ON f.entry = mf.id WHERE f.id in (379,363,366) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00050115585327148 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053; CREATE TEMPORARY TABLE tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00036501884460449 sec]
INSERT INTO tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 (id) SELECT A.id FROM ( SELECT g.id -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT g.id -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.017030954360962 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053; CREATE TEMPORARY TABLE tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00032305717468262 sec]
INSERT INTO tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id = 461 INNER JOIN pod_filter fm ON gf.filter_id = fm.id AND fm.is_split = 0 AND fm.is_active INNER JOIN pod_filter f ON gf.filter_id_value = f.id AND f.is_active [0.0048000812530518 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053; CREATE TEMPORARY TABLE tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0002129077911377 sec]
INSERT INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 p GROUP BY p.filter_id [0.00020694732666016 sec]
INSERT IGNORE INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 c ON c.filter_id = pf.id WHERE pf.id in (463,466) AND c.filter_id IS NULL [0.00018095970153809 sec]
SELECT c.filter_id, c.count, f.entry, f.name_ua AS name, f.url, f.ord, fm.name_ua AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 c INNER JOIN pod_filter f ON c.filter_id = f.id INNER JOIN pod_filter fm ON f.entry = fm.id ORDER BY fm.ord DESC, f.ord DESC, c.filter_id [0.00021982192993164 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 [0.00016212463378906 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 [6.103515625E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a21d053 [5.8174133300781E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075; CREATE TEMPORARY TABLE tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.00015997886657715 sec]
INSERT IGNORE INTO tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 (entry, sub_icon_id) SELECT DISTINCT A.entry, A.sub_icon_id FROM ( SELECT g.id as id, g.id as entry, g.sub_icon_id -- основні FROM pod_cat_good g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT g.id as id, g.id as entry, g.sub_icon_id -- основні в допкатегорії FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND g.is_present AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT go.id as id, g.id as entry, go.sub_icon_id -- підтовари FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE g.cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT go.id as id, g.id as entry, go.sub_icon_id -- підтовари в допкатегорії FROM pod_cat_good go INNER JOIN pod_cat_good g ON go.entry = g.id INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (363,366,379) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463,466) WHERE dc.dop_cat_id IN (447) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0054471492767334 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075; CREATE TEMPORARY TABLE tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00023293495178223 sec]
INSERT IGNORE INTO tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 (sub_icon_id, count) SELECT sub_icon_id, COUNT(DISTINCT entry) AS count FROM ( SELECT A.entry, A.sub_icon_id FROM tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 A INNER JOIN pod_sub_icon si ON A.sub_icon_id = si.id AND si.is_active_filter = 1 ) AA GROUP BY sub_icon_id [0.00040483474731445 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name_ua AS name, si.url FROM tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 c INNER JOIN pod_sub_icon si ON c.sub_icon_id = si.id AND si.is_active_filter = 1 ORDER BY si.ordr, si.name [0.00020408630371094 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 [0.0002288818359375 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_7872o4ivb3i1kqu0ktfho38ghf_6a2aa2a223075 [0.00011110305786133 sec]
Конструктор для дівчаток - купити конструктори для дівчинки в Україні та Києві, ціна в каталозі, інтернет магазин Podushka.com.ua

DEVELOPMENT🌷ЗНИЖКИ ДО 70%

ПЕРЕЙТИ

Конструктор для дівчаток : 5 років, 8 років, 13 років, розвиваючі, набори

Конструктор Lego Creator Космічний шаттл 31134
Конструктор Lego Creator Космічний шаттл 31134
Код: 452030

Виробник: LEGO (Дания)

Ціна:
479 грн
Конструктор Пригоди з інтерактивною Піч Super Mario Lego 71441
Конструктор Пригоди з інтерактивною Піч Super Mario Lego 71441
Код: 474726

Виробник: LEGO (Дания)

Ціна:
2 499 грн
Конструктор магнітний 50 деталей Building Cubes Picasso 23645
Конструктор магнітний 50 деталей Building Cubes Picasso 23645
Код: 478522

Виробник: Picasso (США)

Ціна:
1 623 грн
Конструктор 41 деталь Building Blocks Set Picasso 27384
Конструктор 41 деталь Building Blocks Set Picasso 27384
Код: 478523

Виробник: Picasso (США)

Ціна:
643 грн
Конструктор магнітний 36 деталей Magnetic Building Blocks Picasso 27971
Конструктор магнітний 36 деталей Magnetic Building Blocks Picasso 27971
Код: 478524

Виробник: Picasso (США)

Ціна:
1 131 грн
Конструктор 190 елементів Зоо Брікс Tigres 40012
Конструктор 190 елементів Зоо Брікс Tigres 40012
Код: 486475

Виробник: Tigres (Украина)

Ціна:
229 грн
Конструктор 134 елементи Mini Blocks EDU Wader 41340 у відрі
Конструктор 134 елементи Mini Blocks EDU Wader 41340 у відрі
Код: 498805

Виробник: Wader (КНР)

Ціна:
884 грн