SELECT pod_sub_icon.id,pod_sub_icon.url FROM pod_sub_icon WHERE BINARY pod_sub_icon.url IN ('interlock','baize','ds') order by url [0.00060582160949707 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2ac161f09f8 ( id INT, gid INT, INDEX idx_id (id), INDEX idx_gid (gid) ) [0.00019001960754395 sec]
INSERT INTO temp_brand_counts_6a2ac161f09f8 (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 (335,337) WHERE g.cat_id IN (662) 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 (335,337) WHERE dc.dop_cat_id IN (662) AND g.is_present_all_mods AND g.entry =0 AND g.is_active UNION SELECT id, null gid FROM pod_cat_category WHERE id in (1579) [0.027635097503662 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_6a2ac161f09f8 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.00036787986755371 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2ac161f09f8 [0.00011682510375977 sec]
SELECT cb.id, cb.info_ua AS info, cb.title_ua AS title, cb.metadesc_ua AS metadesc, cb.seo_text_ua AS seo_text, cb.tagH1_ua AS tagH1, cb.canonical, cb.is_active FROM pod_set_cat_brand cb WHERE cb.cat_id = 662 AND cb.brand_id = 1579 AND cb.is_active = 1 LIMIT 1 [0.00016593933105469 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00022006034851074 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 (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 (335,337) WHERE g.cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE dc.dop_cat_id IN (662) AND g.brand_id IN (1579) AND g.is_present_all_mods AND g.entry =0 AND g.is_active ) A [0.0025320053100586 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00017404556274414 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (335,337) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 662 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.0063991546630859 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0002129077911377 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 p GROUP BY p.filter_id [0.00016307830810547 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_6a2ac16204e69 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_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 [0.00015687942504883 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 [6.103515625E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16204e69 [5.1021575927734E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16207848; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 ( id INT NOT NULL, entry INT NOT NULL, PRIMARY KEY (id), KEY idx_entry (entry) ) ENGINE=MEMORY; [0.00013995170593262 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 (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 (335,337) WHERE g.cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE dc.dop_cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE g.cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE dc.dop_cat_id IN (662) AND g.brand_id IN (1579) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0018229484558105 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16207848; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00025391578674316 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 (goods_id, filter_id) SELECT DISTINCT A.entry AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 A INNER JOIN pod_good_filter gf ON A.id = gf.id_good AND gf.filter_id_value NOT IN (335,337) INNER JOIN pod_cat_filter cf ON gf.filter_id = cf.filter_id AND cf.category_id = 662 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.00037288665771484 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16207848; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00015687942504883 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 p GROUP BY p.filter_id [0.00016307830810547 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_6a2ac16207848 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.00014114379882812 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 [0.00016188621520996 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 [6.8187713623047E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac16207848 [6.1988830566406E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 ( id INT NOT NULL, PRIMARY KEY (id) ) ENGINE=MEMORY; [0.00012588500976562 sec]
INSERT INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 (id) SELECT A.id FROM ( SELECT g.id -- основні FROM pod_cat_good g USE INDEX (idx_cat_entry_active_present) WHERE g.cat_id IN (662) AND g.brand_id IN (1579) 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 WHERE dc.dop_cat_id IN (662) AND g.brand_id IN (1579) AND g.is_present_all_mods AND g.entry =0 AND g.is_active ) A [0.00056719779968262 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4; CREATE TEMPORARY TABLE tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 ( goods_id INT NOT NULL, filter_id INT NOT NULL, PRIMARY KEY (goods_id, filter_id) ) ENGINE=MEMORY; [0.00015091896057129 sec]
INSERT INTO tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 (goods_id, filter_id) SELECT DISTINCT A.id AS goods_id, f.id AS filter_id FROM tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 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.0050568580627441 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 ( filter_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.0001988410949707 sec]
INSERT INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 (filter_id, count) SELECT p.filter_id, COUNT(*) AS count FROM tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 p GROUP BY p.filter_id [0.00015497207641602 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 (filter_id, count) SELECT pf.id, 0 FROM pod_filter pf LEFT JOIN tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 c ON c.filter_id = pf.id WHERE pf.id in (335,337) AND c.filter_id IS NULL [0.00015497207641602 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_6a2ac162087f4 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.00019097328186035 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 [0.00014090538024902 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_pairs_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 [7.5101852416992E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac162087f4 [6.5088272094727E-5 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4; CREATE TEMPORARY TABLE tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 ( entry INT NOT NULL, sub_icon_id INT NOT NULL, PRIMARY KEY (entry, sub_icon_id) ) ENGINE=MEMORY; [0.00011396408081055 sec]
INSERT IGNORE INTO tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 (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 (335,337) WHERE g.cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE dc.dop_cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE g.cat_id IN (662) AND g.brand_id IN (1579) 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 (335,337) WHERE dc.dop_cat_id IN (662) AND g.brand_id IN (1579) AND go.is_present AND go.is_active AND g.is_present_all_mods AND g.is_active ) A [0.0011880397796631 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4; CREATE TEMPORARY TABLE tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 ( sub_icon_id INT NOT NULL PRIMARY KEY, count INT NOT NULL ) ENGINE=MEMORY; [0.00017094612121582 sec]
INSERT IGNORE INTO tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 (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_6a2ac1620a6b4 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.0001828670501709 sec]
SELECT c.sub_icon_id AS id, c.count, si.entry, si.name_ua AS name, si.url FROM tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 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.0001220703125 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_A_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 [0.00014209747314453 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_counts_i303r3fnds1pinl1gud5354pcp_6a2ac1620a6b4 [9.7036361694336E-5 sec]
Низькі ціни на Піжами для дівчаток D & S (Д & С) в інтернет-магазині «Подушка». Купити Піжами для дівчаток D & S в Києві і Україні

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

ПЕРЕЙТИ

Піжами для дівчаток D & S