SELECT url_to, r404 FROM pod_redirect WHERE BINARY REPLACE(url_from,'/ru/','/') = '/bryuki_dlya_devochek/o_8-polyester-vvltex.html' LIMIT 0,1 [0.00032210350036621 sec]
select id,name,url, is_active from pod_cat_category where url = 'bryuki_dlya_devochek' [0.0004119873046875 sec]
SELECT pod_filter.id,pod_filter.url FROM pod_filter WHERE BINARY pod_filter.url IN ('o_8','polyester','vvltex') order by url [0.0016920566558838 sec]
SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('o_8','polyester','vvltex') order by url [0.0015919208526611 sec]
select id,url from pod_cat_brand where BINARY url IN ('o_8','polyester','vvltex') [0.0020170211791992 sec]
select id from pod_structure where link='catalogue/668' and active='1' AND lang_ru='1' [0.00040388107299805 sec]
SELECT cb.metaindex, cb.metafollow FROM pod_set_cat_brand cb INNER JOIN pod_cat_category c ON cb.cat_id = c.id WHERE c.url = 'bryuki_dlya_devochek' AND cb.brand_id = 1086 AND cb.is_active = 1 LIMIT 1 [0.00060606002807617 sec]
SELECT id, url FROM pod_filter WHERE url IN ('o_8','polyester','vvltex') [0.00066995620727539 sec]
SELECT id, url FROM pod_sub_icon WHERE url IN ('o_8','polyester','vvltex') [0.00059914588928223 sec]
SELECT c.id, c.super_category_id, c.entry, c.name AS name, c.title AS cat_title, c.metakwds AS cat_kwds, c.metadesc AS cat_metadesc, c.descr AS cat_descr, cc.name AS parent_name, cc.url AS parent_url, c.url as curl, cc.image AS parent_image, c.seo_text AS seo_text, c.seo_text_mobile AS seo_text_mobile, c.action_text AS action_text, c.view_type, c.is_delivery_custom, c.hide_subcat_sidebar, c.image FROM pod_cat_category c LEFT JOIN pod_cat_category cc ON cc.id=c.entry WHERE c.id='668' [0.00043702125549316 sec]
SELECT id FROM pod_cat_category WHERE entry='668' [0.00029206275939941 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 (366,392) and f.is_active AND mf.is_active ORDER BY mf.id, f.id [0.0003969669342041 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active [0.016243934631348 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2a9ff53b885 ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00040292739868164 sec]
INSERT INTO temp_brand_counts_6a2a9ff53b885 (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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active UNION SELECT id, null gid FROM pod_cat_category WHERE id in (1086) [0.18964815139771 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_6a2a9ff53b885 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.00053906440734863 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2a9ff53b885 [0.00016593933105469 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0038199424743652 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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.0016679763793945 sec]
SELECT name AS name, url FROM pod_cat_brand WHERE id in (1086) [0.00013518333435059 sec]
SELECT cb.id, cb.info AS info, cb.title AS title, cb.metadesc AS metadesc, cb.seo_text AS seo_text, cb.tagH1 AS tagH1, cb.canonical, cb.is_active FROM pod_set_cat_brand cb WHERE cb.cat_id = 668 AND cb.brand_id = 1086 AND cb.is_active = 1 LIMIT 1 [0.00013518333435059 sec]
SELECT p.id, p.dt, p.title as title, p.descr, p.thumb, p.url, s.link FROM pod_publication p LEFT JOIN pod_pub_type pt ON pt.id=p.rub_id LEFT JOIN pod_structure s ON pt.page_id=s.id LEFT JOIN pod_cat_public cp ON (cp.public_id = p.id) WHERE p.rub_id = 2 AND p.active='1' AND cp.category_id='668' ORDER BY p.dt DESC LIMIT 1 [0.0045499801635742 sec]
SELECT name AS name, url FROM pod_cat_brand WHERE id='1086' [0.00015401840209961 sec]
SELECT url FROM pod_cat_brand WHERE id = 1086 [0.00010800361633301 sec]
SELECT id, name AS name, url, entry FROM pod_cat_category WHERE is_active='1' AND is_hidden='0' AND entry='0' AND super_category_id='2' AND id!='668' ORDER BY ordr [0.00028705596923828 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5; CREATE TEMPORARY TABLE tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00021982192993164 sec]
INSERT INTO tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 (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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0011827945709229 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5; CREATE TEMPORARY TABLE tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00020503997802734 sec]
INSERT INTO tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (392,366) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 668 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.0060551166534424 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5; CREATE TEMPORARY TABLE tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0002281665802002 sec]
INSERT IGNORE INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 p GROUP BY p.filter_id [0.00015377998352051 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_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 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.00014305114746094 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 [0.00015497207641602 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 [6.8902969360352E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff56ebb5 [5.793571472168E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b; CREATE TEMPORARY TABLE tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00011897087097168 sec]
INSERT INTO tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b (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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0011060237884521 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b; CREATE TEMPORARY TABLE tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.0001678466796875 sec]
INSERT INTO tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (392,366) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 668 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.0002739429473877 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b; CREATE TEMPORARY TABLE tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0001518726348877 sec]
INSERT IGNORE INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b p GROUP BY p.filter_id [0.00012302398681641 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_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b 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.00029492378234863 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b [0.00019502639770508 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b [0.0001070499420166 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff57100b [0.00012612342834473 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94; CREATE TEMPORARY TABLE tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00024604797363281 sec]
INSERT INTO tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 (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 (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0026199817657471 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94; CREATE TEMPORARY TABLE tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00038695335388184 sec]
INSERT INTO tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id = 122 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.0057342052459717 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94; CREATE TEMPORARY TABLE tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00040292739868164 sec]
INSERT INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 p GROUP BY p.filter_id [0.00026702880859375 sec]
INSERT IGNORE INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 c ON c.filter_id = pf.id WHERE pf.id in (392) AND c.filter_id IS NULL [0.00028395652770996 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_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 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.00035190582275391 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 [0.00016188621520996 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 [5.9843063354492E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff571d94 [5.6982040405273E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2; CREATE TEMPORARY TABLE tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY [0.00031495094299316 sec]
INSERT INTO tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 (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 (392) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.002896785736084 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2; CREATE TEMPORARY TABLE tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY [0.00039410591125488 sec]
INSERT INTO tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 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.0048270225524902 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2; CREATE TEMPORARY TABLE tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY [0.00022482872009277 sec]
INSERT INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 p GROUP BY p.filter_id [0.00015902519226074 sec]
INSERT INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 c ON c.filter_id = pf.id WHERE pf.id in (366) AND c.filter_id IS NULL [0.00013017654418945 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_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 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.00014615058898926 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 [0.00016212463378906 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 [7.2002410888672E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff574ae2 [7.319450378418E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306; CREATE TEMPORARY TABLE tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.00014209747314453 sec]
INSERT IGNORE INTO tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 (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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON g.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE g.cat_id IN (668) AND g.brand_id IN (1086) 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 (392) INNER JOIN pod_good_filter gf1 ON go.id = gf1.id_good AND gf1.filter_id_value in (366) WHERE dc.dop_cat_id IN (668) AND g.brand_id IN (1086) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0011811256408691 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306; CREATE TEMPORARY TABLE tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00025606155395508 sec]
INSERT IGNORE INTO tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 (sub_icon_id, count) SELECT sub_icon_id, COUNT(DISTINCT entry) AS count FROM ( SELECT A.entry, A.sub_icon_id FROM tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 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.00024199485778809 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name AS name, si.url FROM tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 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.00015687942504883 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 [0.00014901161193848 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_a977t1oo6h12g31ijncaku9f44_6a2a9ff577306 [9.7990036010742E-5 sec]
Низкие цены на Брюки для девочек VVL-TEX (ВВЛ-TEКС) в интернет-магазине «Подушка». Купить Брюки для девочек VVL-TEX в Киеве и Украине

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

ПЕРЕЙТИ

Брюки для девочек VVL-TEX