SELECT url_to, r404 FROM pod_redirect WHERE BINARY REPLACE(url_from,'/ru/','/') = '/konstruktor_dlya_devochek/o_7-o_12-electronic-developing-constructor_sets-plastyck.html' LIMIT 0,1 [0.00094699859619141 sec]
SELECT pod_filter.id,pod_filter.url FROM pod_filter WHERE BINARY pod_filter.url IN ('o_7','o_12','electronic','developing','constructor_sets','plastyck') order by url [0.0019378662109375 sec]
SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('o_7','o_12','electronic','developing','constructor_sets','plastyck') order by url [0.0012760162353516 sec]
SELECT id, url FROM pod_filter WHERE url IN ('o_7','o_12','electronic','developing','constructor_sets','plastyck') [0.00088405609130859 sec]
SELECT id, url FROM pod_sub_icon WHERE url IN ('o_7','o_12','electronic','developing','constructor_sets','plastyck') [0.00043606758117676 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,462,373,365,1581) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00059890747070312 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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.057396173477173 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2ab009ecca7 ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00075817108154297 sec]
INSERT INTO temp_brand_counts_6a2ab009ecca7 (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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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.039293050765991 sec]
SELECT b.id, b.name AS name, pc.name 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_6a2ab009ecca7 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.00063896179199219 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2ab009ecca7 [0.00018787384033203 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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.010223865509033 sec]
SELECT g.id, if(g.is_present and g.price >= '399' and g.price <= '3555',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 >= '399' and g.price <= '3555',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 >= '399' and pcg.price <= '3555' WHERE g.id in (474726,443680,443681,443682,452030,468130,468131,468132,468133,468134,468136,468137,468139,468140,468141,468142,478522,478523,478524) GROUP BY g.id ORDER BY g.ordr desc LIMIT 0, 32 [0.0047519207000732 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 AS name, g.name2 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 AS brand_name,b.url as burl,b.id as bid, b.country AS brand_country,c.url as curl, c.name AS cat_name, si.name AS sub_icon_name,si.icon AS sub_icon, g.star, g.comment_id, if(g.is_present and g.price >= '399' and g.price <= '3555',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 >= '399' and g.price <= '3555',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 >= '399' and pcg.price <= '3555') WHERE g.id in (443681,443682,468132,468137,468142,478524,452030,468133,468139,474726,443680,468130,468134,468140,478522,468131,468136,468141,478523) GROUP BY g.id ORDER BY g.ordr desc [0.0047719478607178 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 AS name, g.price, g.old_price, g.artikul, g.sub_icon_id, g.is_present, si.name 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,468130,468131,468133,468132,468141,468134,474726,468136,468137,478522,468139,468140,468142,478523,478524) AND g.is_present = '1' AND g.is_active = '1' ORDER BY g.entry, g.is_present DESC [0.00060009956359863 sec]
SELECT DISTINCT ggd2.good_id AS source_good_id, g.id, g.is_present_all_mods, pc.name 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,468130,468131,468133,468132,468141,468134,474726,468136,468137,478522,468139,468140,468142,478523,478524) ORDER BY ggd2.good_id, g.is_present_all_mods DESC [0.0015828609466553 sec]
SELECT id, name AS name, url FROM pod_filter WHERE id in (466,463,462,373,365,1581) AND is_active='1' [0.00031185150146484 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714; CREATE TEMPORARY TABLE tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00025105476379395 sec]
INSERT INTO tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 (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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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.020601034164429 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714; CREATE TEMPORARY TABLE tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00052499771118164 sec]
INSERT INTO tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (365,373,462,463,466,1581) 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.019088983535767 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714; CREATE TEMPORARY TABLE tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00035405158996582 sec]
INSERT IGNORE INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 p GROUP BY p.filter_id [0.0002131462097168 sec]
SELECT c.filter_id, c.count, f.entry, f.name AS name, f.url, f.ord, fm.name AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 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.00025105476379395 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 [0.00018191337585449 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 [8.2969665527344E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a0b714 [8.702278137207E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d; CREATE TEMPORARY TABLE tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00021505355834961 sec]
INSERT INTO tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d (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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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.0030820369720459 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d; CREATE TEMPORARY TABLE tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00027203559875488 sec]
INSERT INTO tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (365,373,462,463,466,1581) 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.0031239986419678 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d; CREATE TEMPORARY TABLE tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00033402442932129 sec]
INSERT IGNORE INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d p GROUP BY p.filter_id [0.00030303001403809 sec]
SELECT c.filter_id, c.count, f.entry, f.name AS name, f.url, f.ord, fm.name AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d 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.0002739429473877 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d [0.00021600723266602 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d [0.00010395050048828 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a15d0d [0.00021195411682129 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c; CREATE TEMPORARY TABLE tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY [0.0003049373626709 sec]
INSERT INTO tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c (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 (462,463,466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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 (462,463,466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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 (462,463,466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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 (462,463,466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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.0031630992889404 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c; CREATE TEMPORARY TABLE tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY [0.00040197372436523 sec]
INSERT INTO tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c 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.0093448162078857 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c; CREATE TEMPORARY TABLE tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY [0.00047111511230469 sec]
INSERT INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c p GROUP BY p.filter_id [0.00034308433532715 sec]
INSERT INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c c ON c.filter_id = pf.id WHERE pf.id in (365,373) AND c.filter_id IS NULL [0.00024890899658203 sec]
SELECT c.filter_id, c.count, f.entry, f.name AS name, f.url, f.ord, fm.name AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c 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.00032687187194824 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c [0.00020599365234375 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c [9.608268737793E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1821c [0.00010013580322266 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 (373,365,1581) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00040197372436523 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc; CREATE TEMPORARY TABLE tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00037813186645508 sec]
INSERT INTO tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc (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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (1581) 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.0085248947143555 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc; CREATE TEMPORARY TABLE tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00032687187194824 sec]
INSERT INTO tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc 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.0033600330352783 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc; CREATE TEMPORARY TABLE tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00023818016052246 sec]
INSERT INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc p GROUP BY p.filter_id [0.00020313262939453 sec]
INSERT IGNORE INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc c ON c.filter_id = pf.id WHERE pf.id in (462,463,466) AND c.filter_id IS NULL [0.00017714500427246 sec]
SELECT c.filter_id, c.count, f.entry, f.name AS name, f.url, f.ord, fm.name AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc 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.00019288063049316 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc [0.00033116340637207 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc [0.00012993812561035 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a1c5bc [0.00012612342834473 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,462,373,365) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00061511993408203 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e; CREATE TEMPORARY TABLE tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00026798248291016 sec]
INSERT INTO tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e (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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,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.0022790431976318 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e; CREATE TEMPORARY TABLE tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00028395652770996 sec]
INSERT INTO tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id = 1573 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.0055568218231201 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e; CREATE TEMPORARY TABLE tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00036382675170898 sec]
INSERT INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e p GROUP BY p.filter_id [0.00043296813964844 sec]
INSERT IGNORE INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e c ON c.filter_id = pf.id WHERE pf.id in (1581) AND c.filter_id IS NULL [0.00027298927307129 sec]
SELECT c.filter_id, c.count, f.entry, f.name AS name, f.url, f.ord, fm.name AS mname, fm.url AS murl, fm.ord AS mord FROM tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e 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.00032901763916016 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e [0.00025296211242676 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e [8.7976455688477E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a2061e [7.6055526733398E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee; CREATE TEMPORARY TABLE tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.00018000602722168 sec]
INSERT IGNORE INTO tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee (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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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 (365,373) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (462,463,466) INNER JOIN pod_good_filter gf2 ON g.id = gf2.id_good AND gf2.filter_id_value in (1581) 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.0083451271057129 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee; CREATE TEMPORARY TABLE tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00030708312988281 sec]
INSERT IGNORE INTO tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee (sub_icon_id, count) SELECT sub_icon_id, COUNT(DISTINCT entry) AS count FROM ( SELECT A.entry, A.sub_icon_id FROM tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee 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.00027203559875488 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name AS name, si.url FROM tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee 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.00020194053649902 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee [0.00016498565673828 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_j48se20n1sjv8u0ouco0od38sl_6a2ab00a232ee [6.6041946411133E-5 sec]
Конструктор для девочек - купить конструкторы для девочки в Украине и Киеве, цена в каталоге, интернет магазин Podushka.com.ua

DEVELOPMENT🌷СКИДКИ ДО 70%

ПЕРЕЙТИ

Конструктор для девочек : 7 лет, 12 лет, электронные, развивающие, наборы, пластик

Конструктор-трансформер Диззи Small Blocks 2в1 Buildable Transforming Vehicle Super Wings EU385006 - 40 %
Конструктор-трансформер Диззи Small Blocks 2в1 Buildable Transforming Vehicle Super Wings EU385006
Код: 443681

Производитель: Super Wings (КНР)

Цена:
799 грн 1 329 грн
Конструктор Lego Creator Космический шаттл 31134
Конструктор Lego Creator Космический шаттл 31134
Код: 452030

Производитель: LEGO (Дания)

Цена:
479 грн
Конструктор электронный Doka 118 схем D70701
Конструктор электронный Doka 118 схем D70701
Код: 468130

Производитель: DOKA (КНР)

Цена:
1 295 грн
Конструктор электронный Doka Свет и цвет RGB D70700
Конструктор электронный Doka Свет и цвет RGB D70700
Код: 468131

Производитель: DOKA (КНР)

Цена:
1 395 грн
Конструктор электронный Doka Собираем радио D70703 - 22 %
Конструктор электронный Doka Собираем радио D70703
Код: 468133

Производитель: DOKA (КНР)

Цена:
699 грн 895 грн
Конструктор электронный Doka К взлету готовы! D70702
Конструктор электронный Doka К взлету готовы! D70702
Код: 468132

Производитель: DOKA (КНР)

Цена:
755 грн
Конструктор электронный Doka Альтернативная энергия 50 схем D70711
Конструктор электронный Doka Альтернативная энергия 50 схем D70711
Код: 468141

Производитель: DOKA (КНР)

Цена:
1 645 грн
Конструктор электронный Doka Чистая энергия D70704
Конструктор электронный Doka Чистая энергия D70704
Код: 468134

Производитель: DOKA (КНР)

Цена:
755 грн
Конструктор Приключения с интерактивной Пич Super Mario Lego 71441
Конструктор Приключения с интерактивной Пич Super Mario Lego 71441
Код: 474726

Производитель: LEGO (Дания)

Цена:
2 499 грн
Конструктор электронный Doka 201 схема D70706
Конструктор электронный Doka 201 схема D70706
Код: 468136

Производитель: DOKA (КНР)

Цена:
1 645 грн
Конструктор электронный Doka 320 схем D70707 - 19 %
Конструктор электронный Doka 320 схем D70707
Код: 468137

Производитель: DOKA (КНР)

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

Производитель: Picasso (США)

Цена:
1 623 грн
Конструктор электронный Doka Суперизмеритель D70712
Конструктор электронный Doka Суперизмеритель D70712
Код: 468142

Производитель: DOKA (КНР)

Цена:
3 555 грн
Конструктор 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 грн