SELECT url_to, r404 FROM pod_redirect WHERE BINARY REPLACE(url_from,'/ru/','/') = '/plavki/beige-85b-95d.html' LIMIT 0,1 [0.00050806999206543 sec]
SELECT pod_filter.id,pod_filter.url FROM pod_filter WHERE BINARY pod_filter.url IN ('beige','85b','95d') order by url [0.0015618801116943 sec]
SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('beige','85b','95d') order by url [0.0014610290527344 sec]
SELECT id, url FROM pod_filter WHERE url IN ('beige','85b','95d') [0.00058078765869141 sec]
SELECT id, url FROM pod_sub_icon WHERE url IN ('beige','85b','95d') [0.0004580020904541 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 (3359,3377,22) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00048589706420898 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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active [0.013247013092041 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2a8027195d1 ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00040197372436523 sec]
INSERT INTO temp_brand_counts_6a2a8027195d1 (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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active [0.0024559497833252 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_6a2a8027195d1 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.00074100494384766 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2a8027195d1 [0.00022315979003906 sec]
SELECT id, name_ua AS name, url FROM pod_filter WHERE id in (3359,3377,22) AND is_active='1' [0.00044918060302734 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6; CREATE TEMPORARY TABLE tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00052905082702637 sec]
INSERT INTO tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 (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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0029940605163574 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6; CREATE TEMPORARY TABLE tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.0005180835723877 sec]
INSERT INTO tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (22,3359,3377) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 1207 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.0084769725799561 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6; CREATE TEMPORARY TABLE tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00050806999206543 sec]
INSERT IGNORE INTO tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 p GROUP BY p.filter_id [0.00041508674621582 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_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 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.00038599967956543 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 [0.0003049373626709 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 [0.00014901161193848 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80271e6a6 [0.00012993812561035 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e; CREATE TEMPORARY TABLE tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00029301643371582 sec]
INSERT INTO tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e (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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.002187967300415 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e; CREATE TEMPORARY TABLE tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00038504600524902 sec]
INSERT INTO tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (22,3359,3377) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 1207 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.0010240077972412 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e; CREATE TEMPORARY TABLE tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00031113624572754 sec]
INSERT IGNORE INTO tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e p GROUP BY p.filter_id [0.00030303001403809 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_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e 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.00028705596923828 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e [0.00023603439331055 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e [0.00011491775512695 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a80272256e [0.00012803077697754 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 (3359,3377) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00052618980407715 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358; CREATE TEMPORARY TABLE tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00036215782165527 sec]
INSERT INTO tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 (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 (3359,3377) WHERE g.cat_id IN (1207) 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 (3359,3377) WHERE dc.dop_cat_id IN (1207) 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 (3359,3377) WHERE g.cat_id IN (1207) 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 (3359,3377) WHERE dc.dop_cat_id IN (1207) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0017440319061279 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358; CREATE TEMPORARY TABLE tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00037503242492676 sec]
INSERT INTO tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id = 20 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.0055248737335205 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358; CREATE TEMPORARY TABLE tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00039291381835938 sec]
INSERT INTO tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 p GROUP BY p.filter_id [0.00037789344787598 sec]
INSERT IGNORE INTO tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 c ON c.filter_id = pf.id WHERE pf.id in (22) AND c.filter_id IS NULL [0.00027108192443848 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_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 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.00037097930908203 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 [0.00028896331787109 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 [0.00011992454528809 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802724358 [0.00013899803161621 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613; CREATE TEMPORARY TABLE tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.00035881996154785 sec]
INSERT IGNORE INTO tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 (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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 (22) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE g.cat_id IN (1207) 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 g.id = gf0.id_good AND gf0.filter_id_value in (22) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3359,3377) WHERE dc.dop_cat_id IN (1207) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0021719932556152 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613; CREATE TEMPORARY TABLE tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00040292739868164 sec]
INSERT IGNORE INTO tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 (sub_icon_id, count) SELECT sub_icon_id, COUNT(DISTINCT entry) AS count FROM ( SELECT A.entry, A.sub_icon_id FROM tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 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.00048494338989258 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name_ua AS name, si.url FROM tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 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.00030398368835449 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 [0.0003199577331543 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_sjku5t1n42s2lct77iiqv55dpm_6a2a802727613 [0.00014519691467285 sec]
Жіночі трусики - купити жіночу спідню білизну Бежевий/Кремовий, 85b, 95d в Україні та Києві, дамські трусики ціна в інтернет-магазині

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

ПЕРЕЙТИ

Жіночі трусики : бежевий/кремовий, 85b, 95d

Бюстгальтер для годування Мамин Дім 810 Айворі
Бюстгальтер для годування Мамин Дім 810 Айворі
Код: 442191

Виробник: Мамин Дім (Украина)

розмір 95D

розмір 90D

Показати більше
Ціна:
1 195 грн