SELECT url_to, r404 FROM pod_redirect WHERE BINARY REPLACE(url_from,'/ru/','/') = '/konstruktor_dlya_devochek/o_4-o_6-developing-18_let.html' LIMIT 0,1 [0.0007178783416748 sec]
SELECT pod_filter.id,pod_filter.url FROM pod_filter WHERE BINARY pod_filter.url IN ('o_4','o_6','developing','18_let') order by url [0.0023360252380371 sec]
SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('o_4','o_6','developing','18_let') order by url [0.0015268325805664 sec]
SELECT id, url FROM pod_filter WHERE url IN ('o_4','o_6','developing','18_let') [0.00054383277893066 sec]
SELECT id, url FROM pod_sub_icon WHERE url IN ('o_4','o_6','developing','18_let') [0.00036716461181641 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 (3466,463,362,364) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00027298927307129 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_base_goods; CREATE TEMPORARY TABLE tmp_base_goods ( id INT NOT NULL PRIMARY KEY, brand_id INT, price DECIMAL(10,2), old_price DECIMAL(10,2), ordr INT, is_present TINYINT(1), sub_icon_id INT, fast_delivery TINYINT(1), is_new TINYINT(1), is_sale TINYINT(1), KEY idx_brand (brand_id) ) ENGINE=MEMORY [0.0003199577331543 sec]
INSERT INTO tmp_base_goods (id, brand_id, price, old_price, ordr, is_present, sub_icon_id, fast_delivery, is_new, is_sale) SELECT g.id, g.brand_id, g.price, g.old_price, g.ordr, g.is_present, g.sub_icon_id, g.fast_delivery, g.is_new, g.is_sale FROM pod_cat_good g WHERE g.cat_id IN (447) AND g.entry=0 AND g.is_active AND g.is_present_all_mods UNION SELECT g.id, g.brand_id, g.price, g.old_price, g.ordr, g.is_present, g.sub_icon_id, g.fast_delivery, g.is_new, g.is_sale FROM pod_cat_good g INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id WHERE dc.dop_cat_id IN (447) AND g.entry=0 AND g.is_active AND g.is_present_all_mods [0.0014259815216064 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_sub_goods; CREATE TEMPORARY TABLE tmp_sub_goods ( id INT NOT NULL PRIMARY KEY, entry INT NOT NULL, price DECIMAL(10,2), old_price DECIMAL(10,2), sub_icon_id INT, is_present TINYINT(1), fast_delivery TINYINT(1), is_new TINYINT(1), is_sale TINYINT(1), KEY idx_entry (entry) ) ENGINE=MEMORY [0.00024795532226562 sec]
INSERT INTO tmp_sub_goods (id, entry, price, old_price, sub_icon_id, is_present, fast_delivery, is_new, is_sale) SELECT go.id, go.entry, go.price, go.old_price, go.sub_icon_id, go.is_present, go.fast_delivery, go.is_new, go.is_sale FROM pod_cat_good go INNER JOIN tmp_base_goods t ON go.entry = t.id WHERE go.is_active AND go.is_present [0.0003361701965332 sec]
SELECT g.id /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT g.id /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE 1 [0.010192155838013 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2b41e67f73b ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00020289421081543 sec]
INSERT INTO temp_brand_counts_6a2b41e67f73b (id, gid) SELECT g.brand_id AS id, g.id AS gid /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT g.brand_id AS id, g.id AS gid /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE 1 [0.00085711479187012 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_6a2b41e67f73b 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.00035786628723145 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2b41e67f73b [0.00027203559875488 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 /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT MIN(go.price) AS min_price, MAX(go.price) AS max_price /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE 1 ) A [0.0012009143829346 sec]
SELECT g.id /* cats:447 */,if(g.is_present and g.price >= '399' and g.price <= '2054',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 <= '2054',greatest(g.price,ifnull(max(pcg.price),g.price)),ifnull(max(pcg.price),g.price)) max_sort_price FROM tmp_base_goods g LEFT JOIN pod_cat_good pcg ON pcg.entry=g.id AND pcg.is_present=1 AND pcg.price >= '399' AND pcg.price <= '2054' WHERE g.id IN (443680,443681,443682,478522,478523,478524,498805,498810) GROUP BY g.id ORDER BY g.ordr desc LIMIT 0, 32 [0.0036849975585938 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 >= '399' and g.price <= '2054',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 <= '2054',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 <= '2054') WHERE g.id in (443681,443682,498810,443680,478523,478524,498805,478522) GROUP BY g.id ORDER BY g.ordr desc [0.0022938251495361 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,478522,478523,478524,498805,498810) AND g.is_present = '1' AND g.is_active = '1' ORDER BY g.entry, g.is_present DESC [0.00052905082702637 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,478522,478523,478524,498805,498810) ORDER BY ggd2.good_id, g.is_present_all_mods DESC [0.0017979145050049 sec]
SELECT id, name_ua AS name, url FROM pod_filter WHERE id in (3466,463,362,364) AND is_active='1' [0.00029110908508301 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e686005; CREATE TEMPORARY TABLE tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00038504600524902 sec]
INSERT INTO tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 (id) SELECT A.id FROM ( SELECT g.id /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT g.id /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE 1 ) A [0.0009758472442627 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e686005; CREATE TEMPORARY TABLE tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00034308433532715 sec]
INSERT INTO tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (362,364,3466,463) 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.0067958831787109 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e686005; CREATE TEMPORARY TABLE tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00041985511779785 sec]
INSERT IGNORE INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 p GROUP BY p.filter_id [0.00039911270141602 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_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 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.00047206878662109 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 [0.00029516220092773 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 [0.00013303756713867 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e686005 [0.0001518726348877 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9; CREATE TEMPORARY TABLE tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00031709671020508 sec]
INSERT INTO tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 (id, entry) SELECT A.id, A.entry FROM ( SELECT g.id as id, g.id as entry /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT go.id as id, g.id as entry /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE 1 ) A [0.0012609958648682 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9; CREATE TEMPORARY TABLE tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00045013427734375 sec]
INSERT INTO tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (362,364,3466,463) 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.0013182163238525 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9; CREATE TEMPORARY TABLE tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00042390823364258 sec]
INSERT IGNORE INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 p GROUP BY p.filter_id [0.0003969669342041 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_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 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.00043892860412598 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 [0.00035214424133301 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 [0.0001380443572998 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e688ea9 [0.00012993812561035 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21; CREATE TEMPORARY TABLE tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY [0.0002751350402832 sec]
INSERT INTO tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 (id, entry) SELECT A.id, A.entry FROM ( SELECT g.id as id, g.id as entry /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT go.id as id, g.id as entry /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods 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) WHERE 1 ) A [0.00085186958312988 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21; CREATE TEMPORARY TABLE tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY [0.00038790702819824 sec]
INSERT INTO tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 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.0012950897216797 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21; CREATE TEMPORARY TABLE tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY [0.00033903121948242 sec]
INSERT INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 p GROUP BY p.filter_id [0.00039005279541016 sec]
INSERT INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 c ON c.filter_id = pf.id WHERE pf.id in (362,364,3466) AND c.filter_id IS NULL [0.00037193298339844 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_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 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.00046205520629883 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 [0.00028300285339355 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 [0.00012707710266113 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68ab21 [0.00012302398681641 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 (3466,362,364) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00056886672973633 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911; CREATE TEMPORARY TABLE tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00036501884460449 sec]
INSERT INTO tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 (id) SELECT A.id FROM ( SELECT g.id /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) WHERE g.is_present AND 1 UNION SELECT g.id /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) WHERE 1 ) A [0.0010490417480469 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911; CREATE TEMPORARY TABLE tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00040507316589355 sec]
INSERT INTO tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 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.0013749599456787 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911; CREATE TEMPORARY TABLE tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00034213066101074 sec]
INSERT INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 p GROUP BY p.filter_id [0.0003819465637207 sec]
INSERT IGNORE INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 c ON c.filter_id = pf.id WHERE pf.id in (463) AND c.filter_id IS NULL [0.00029110908508301 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_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 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.00040602684020996 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 [0.0003509521484375 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 [0.00015115737915039 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68c911 [0.00014805793762207 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c; CREATE TEMPORARY TABLE tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.0003049373626709 sec]
INSERT IGNORE INTO tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c (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 /* cats:447 */ FROM tmp_base_goods g INNER JOIN pod_good_filter gf0 ON g.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE g.is_present AND 1 UNION SELECT go.id as id, g.id as entry, go.sub_icon_id /* cats:447 */ FROM tmp_sub_goods go INNER JOIN tmp_base_goods g ON go.entry = g.id INNER JOIN pod_good_filter gf0 ON go.id = gf0.id_good AND gf0.filter_id_value in (362,364,3466) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (463) WHERE 1 ) A [0.001262903213501 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c; CREATE TEMPORARY TABLE tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00038504600524902 sec]
INSERT IGNORE INTO tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c (sub_icon_id, count) SELECT sub_icon_id, COUNT(DISTINCT entry) AS count FROM ( SELECT A.entry, A.sub_icon_id FROM tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c 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.00050783157348633 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name_ua AS name, si.url FROM tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c 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.00027990341186523 sec]
----------------------------- SELECT COUNT(*) FROM pod_good_filter WHERE id_good IN (SELECT id FROM tmp_base_goods); [0.0005340576171875 sec]
Array ( [0] => Array ( [COUNT(*)] => 258 ) ) SELECT COUNT(DISTINCT filter_id) FROM pod_good_filter WHERE id_good IN (SELECT id FROM tmp_base_goods); [0.00097298622131348 sec]
Array ( [0] => Array ( [COUNT(DISTINCT filter_id)] => 4 ) ) ----------------------------- DROP TEMPORARY TABLE IF EXISTS tmp_A_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c [0.00026798248291016 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_2jt82orb88an4nc2al7g06pb72_6a2b41e68e39c [0.00012612342834473 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_base_goods; DROP TEMPORARY TABLE IF EXISTS tmp_sub_goods [0.00023007392883301 sec]
Конструктор для дівчаток - купити конструктори для дівчинки в Україні та Києві, ціна в каталозі, інтернет магазин Podushka.com.ua

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

ПЕРЕЙТИ

Конструктор для дівчаток : 4 роки, 6 років, розвиваючі, 18 років+

Конструктор магнітний 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 грн
Конструктор 134 елементи Mini Blocks EDU Wader 41340 у відрі
Конструктор 134 елементи Mini Blocks EDU Wader 41340 у відрі
Код: 498805

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

Ціна:
884 грн
Конструктор 100 елементів Big Blocks EDU Wader 41593
Конструктор 100 елементів Big Blocks EDU Wader 41593
Код: 498810

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

Ціна:
2 054 грн