SELECT url_to, r404 FROM pod_redirect WHERE BINARY REPLACE(url_from,'/ru/','/') = '/plavki/green-75d.html' LIMIT 0,1 [0.00042200088500977 sec]
SELECT pod_filter.id,pod_filter.url FROM pod_filter WHERE BINARY pod_filter.url IN ('green','75d') order by url [0.00071287155151367 sec]
SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('green','75d') order by url [0.00047802925109863 sec]
SELECT id, url FROM pod_filter WHERE url IN ('green','75d') [0.00035309791564941 sec]
SELECT id, url FROM pod_sub_icon WHERE url IN ('green','75d') [0.00021004676818848 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 (3355,30) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00026392936706543 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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.0050060749053955 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2ac1690e22b ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00045084953308105 sec]
INSERT INTO temp_brand_counts_6a2ac1690e22b (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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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.00075602531433105 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_6a2ac1690e22b 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.0003659725189209 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2ac1690e22b [0.00013113021850586 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 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 g.id = gf0.id_good AND gf0.filter_id_value in (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 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 g.id = gf0.id_good AND gf0.filter_id_value in (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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.000823974609375 sec]
SELECT g.id,if(g.is_present and g.price >= '0' and g.price <= '99999',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 >= '0' and g.price <= '99999',greatest(g.price,ifnull(max(pcg.price),g.price)),ifnull(max(pcg.price),g.price)) max_sort_price 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 INNER JOIN pod_cat_good g ON a.id = g.id LEFT JOIN pod_cat_good pcg ON pcg.entry=g.id and pcg.is_present=1 and pcg.is_present=1 and pcg.price >= '0' and pcg.price <= '99999' GROUP BY g.id ORDER BY g.ordr desc LIMIT 0, 32 [0.0015170574188232 sec]
SELECT id, name_ua AS name, url FROM pod_filter WHERE id in (3355,30) AND is_active='1' [0.00017285346984863 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00022602081298828 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 (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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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.00085592269897461 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00022411346435547 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (30,3355) 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.0041720867156982 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00025200843811035 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 p GROUP BY p.filter_id [0.00026106834411621 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_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 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.00025582313537598 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 [0.00019407272338867 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 [9.608268737793E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16911e50 [9.0122222900391E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00023698806762695 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 (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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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.001823902130127 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00031900405883789 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (30,3355) 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.00060319900512695 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00027894973754883 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 p GROUP BY p.filter_id [0.00019001960754395 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_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 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.00016307830810547 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 [9.6797943115234E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 [6.1988830566406E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16913ae4 [5.3882598876953E-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 (3355) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.00015497207641602 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00015497207641602 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc (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 (3355) 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 (3355) 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 (3355) 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 (3355) 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.000640869140625 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00013399124145508 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc 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.002885103225708 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00013494491577148 sec]
INSERT INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc p GROUP BY p.filter_id [0.0001530647277832 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc c ON c.filter_id = pf.id WHERE pf.id in (30) AND c.filter_id IS NULL [0.00011086463928223 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_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc 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.00015497207641602 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc [0.00011110305786133 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc [4.8160552978516E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16914ecc [4.6014785766602E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY [0.00010490417480469 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc (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 (30) 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 (30) 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 (30) 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 (30) 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.0044801235198975 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY [0.00018906593322754 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id = 3349 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.00081491470336914 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY [0.0001678466796875 sec]
INSERT INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc p GROUP BY p.filter_id [0.00014090538024902 sec]
INSERT INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc c ON c.filter_id = pf.id WHERE pf.id in (3355) AND c.filter_id IS NULL [0.00011682510375977 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_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc 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.00014710426330566 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc [0.00014805793762207 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc [6.9856643676758E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac169164bc [6.2942504882812E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16918150; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.00014400482177734 sec]
INSERT IGNORE INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 (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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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 (30) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (3355) 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.0010218620300293 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16918150; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0002131462097168 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 (sub_icon_id, count) SELECT sub_icon_id, COUNT(DISTINCT entry) AS count FROM ( SELECT A.entry, A.sub_icon_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 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.00023412704467773 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name_ua AS name, si.url FROM tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 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.00021505355834961 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 [0.00023794174194336 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16918150 [0.00010991096496582 sec]
Жіночі трусики - купити жіночу спідню білизну Зелений/Салатовий, 75d в Україні та Києві, дамські трусики ціна в інтернет-магазині

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

ПЕРЕЙТИ

Жіночі трусики : зелений/салатовий, 75d