Каталог товаров

Инструменты для вязания

DEBUG enable
Num SQL queries:89
Num fetched rows:136
including array rows:3
Time of script run:0.34292197227478
Time of SQL queries:0.049326419830322
Timers out:
Счетчик "Подгототовка страницы", время выполнения - 0.0025с
Счетчик "ModIshopTree tree data", время выполнения - 0.0019с
Счетчик "ModIshopTree breads", время выполнения - 0.0054с
Счетчик "ModIshopTree treecache", время выполнения - 0.0011с
Счетчик "ModIshopTree leftmenu", время выполнения - 0.0008с
Счетчик "ModIshopTree cardcollect", время выполнения - 0.0022с
Счетчик "ModIshopTree treesort", время выполнения - 0.0002с
Счетчик "ModIshopTree filters", время выполнения - 0.2925с
Счетчик "ModIshopTree design", время выполнения - 0.0001с
Счетчик "ModIshopTree cardsviews", время выполнения - 0.0002с
Счетчик "ModIshopTree paginator", время выполнения - 0с
Счетчик "ModIshopTree mclasses", время выполнения - 0с
Счетчик "Module=ishop", время выполнения - 0.3121с
Счетчик "Block=stat", время выполнения - 0.0001с
Счетчик "Block=mainjs", время выполнения - 0.0001с
Счетчик "Block=header", время выполнения - 0.0001с
Счетчик "Block=catalogtree", время выполнения - 0.001с
Счетчик "Block=header", время выполнения - 0.0002с
Счетчик "Block=catalogtree", время выполнения - 0.0008с
Счетчик "Block=retailrocketblocks", время выполнения - 0.0002с
Счетчик "Block=advert", время выполнения - 0.0002с
Счетчик "Block=subscribe", время выполнения - 0.0002с
Счетчик "Block=footer", время выполнения - 0.0002с
Счетчик "Block=retailrocket", время выполнения - 0.0002с
Счетчик "Block=metrika", время выполнения - 0.0003с
Счетчик "Block=ganalitics", время выполнения - 0.0002с
Счетчик "Block=statmailru", время выполнения - 0.0003с
Счетчик "Block=jivosite", время выполнения - 0.0002с

SELECT id_city,path,name,ishop_id,ishop_name,kladr_id FROM leo_city WHERE path='astana'; # Num rows 1Run time:Time of run:0.00019097328186035

SELECT index_id,title,domen FROM leonardo_kz.leo_index WHERE parent_index_id=0 AND alias LIKE 'ishop' LIMIT 1; # Num rows 1Run time:Time of run:0.00019001960754395

SELECT index_id,title,domen FROM leonardo_kz.leo_index WHERE parent_index_id=2 AND alias LIKE 'tree_3531747362' LIMIT 1; # Num rows 0Run time:Time of run:0.00079202651977539

SELECT title,template_id,content,domen,index_id FROM leonardo_kz.leo_index WHERE index_id=2; # Num rows 1Run time:Time of run:0.0004889965057373

SELECT html FROM leonardo_kz.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.00017714500427246



SELECT t1.treename,t2.treetype,t2.tree_description,t2.tree_meta_description,t1.shop_tree_id,t1.level1,t1.level2,t1.level3,t1.relatedtree,t2.titletag,t2.tree_notice,t2.h1tag,t2.maintitledisable FROM leonardo.leo_tree AS t1 LEFT JOIN leonardo.leo_tree_description AS t2 ON t1.id_tree=t2.tree_id LEFT JOIN leonardo_kz.leo_tree_translate AS t3 ON (t1.id_tree=t3.id_tree) WHERE t3.id_tree IS NOT NULL AND t1.id_tree=3531747362; # Num rows 1Run time:Time of run:0.0018630027770996



SELECT t1.id_tree,t1.treename,t2.id_tree,t2.treename,t3.id_tree,t3.treename,t4.id_tree,t4.treename,t5.id_tree,t5.treename FROM leo_tree AS t1 LEFT JOIN leo_tree AS t2 ON t1.shop_tree_id=t2.id_tree LEFT JOIN leo_tree AS t3 ON t2.shop_tree_id=t3.id_tree LEFT JOIN leo_tree AS t4 ON t3.shop_tree_id=t4.id_tree LEFT JOIN leo_tree AS t5 ON t4.shop_tree_id=t5.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t1_kz ON t1.id_tree=t1_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t2_kz ON t1.shop_tree_id=t2_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t3_kz ON t2.shop_tree_id=t3_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t4_kz ON t3.shop_tree_id=t4_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t5_kz ON t4.shop_tree_id=t5_kz.id_tree WHERE t1.id_tree=3531747362 # Num rows 1Run time:Time of run:0.0053038597106934







SELECT filter_class,indexed,opened FROM leonardo.leo_tree_filters WHERE id_tree= '3531747362' ORDER BY pos ASC; # Num rows 7Run time:Time of run:0.0010080337524414





SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=340321951 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00064492225646973

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2197693832 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.001615047454834

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2197845312 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00056600570678711

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2197862892 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00049209594726562

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2197869232 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00047397613525391

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2197872232 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00050997734069824

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2359162282 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00061798095703125

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2418787052 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0005500316619873

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=2933556192 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00045514106750488

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3011813272 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00049495697021484

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3477532202 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0022649765014648

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3477599492 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00052809715270996

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3477605072 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00057697296142578

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3477608212 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00044608116149902

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3477805992 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00049018859863281

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3477852832 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00048303604125977

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3505564992 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00045180320739746

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3505689562 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00047707557678223

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3719809842 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00053191184997559

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3775348802 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00043892860412598

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3820616022 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00048589706420898

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3950938762 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00050592422485352

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3971282432 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00048494338989258

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3971295332 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00049901008605957

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3971298062 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0004580020904541

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3971304202 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0015640258789062

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=3971309112 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00047111511230469

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=4591386192 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00052595138549805

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=4712539612 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0004730224609375

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=4835854902 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00049400329589844

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=4835869262 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0004730224609375

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=4846797142 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00046801567077637

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=4859773452 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0037860870361328

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=5088530202 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00047898292541504

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=8044037472 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00050592422485352

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=28315992592 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00046586990356445

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=28316440142 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00044608116149902

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=52433511332 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00049591064453125

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=52851839972 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00048494338989258

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=54449081502 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00048184394836426

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=340321951 # Num rows 1Run time:Time of run:0.00038599967956543

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2197693832 # Num rows 1Run time:Time of run:0.00029182434082031

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2197845312 # Num rows 1Run time:Time of run:0.00030088424682617

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2197862892 # Num rows 1Run time:Time of run:0.00026917457580566

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2197869232 # Num rows 1Run time:Time of run:0.00023579597473145

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2197872232 # Num rows 1Run time:Time of run:0.00024890899658203

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2359162282 # Num rows 1Run time:Time of run:0.00024509429931641

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2418787052 # Num rows 1Run time:Time of run:0.00022602081298828

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=2933556192 # Num rows 1Run time:Time of run:0.00031185150146484

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3011813272 # Num rows 1Run time:Time of run:0.00028514862060547

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3477532202 # Num rows 1Run time:Time of run:0.00029492378234863

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3477599492 # Num rows 1Run time:Time of run:0.00027990341186523

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3477605072 # Num rows 1Run time:Time of run:0.00030183792114258

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3477608212 # Num rows 1Run time:Time of run:0.0003058910369873

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3477805992 # Num rows 1Run time:Time of run:0.00028300285339355

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3477852832 # Num rows 1Run time:Time of run:0.00027799606323242

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3505564992 # Num rows 1Run time:Time of run:0.00029897689819336

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3505689562 # Num rows 1Run time:Time of run:0.0002751350402832

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3719809842 # Num rows 1Run time:Time of run:0.00027704238891602

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3775348802 # Num rows 1Run time:Time of run:0.00030803680419922

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3820616022 # Num rows 1Run time:Time of run:0.00032305717468262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3950938762 # Num rows 1Run time:Time of run:0.00028085708618164

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3971282432 # Num rows 1Run time:Time of run:0.00031590461730957

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3971295332 # Num rows 1Run time:Time of run:0.00028109550476074

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3971298062 # Num rows 1Run time:Time of run:0.00028300285339355

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3971304202 # Num rows 1Run time:Time of run:0.00033998489379883

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=3971309112 # Num rows 1Run time:Time of run:0.00027179718017578

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=4591386192 # Num rows 1Run time:Time of run:0.00027608871459961

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=4712539612 # Num rows 1Run time:Time of run:0.00030088424682617

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=4835854902 # Num rows 1Run time:Time of run:0.0003049373626709

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=4835869262 # Num rows 1Run time:Time of run:0.00027799606323242

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=4846797142 # Num rows 1Run time:Time of run:0.00028800964355469

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=4859773452 # Num rows 1Run time:Time of run:0.00022721290588379

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=5088530202 # Num rows 1Run time:Time of run:0.00024700164794922

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=8044037472 # Num rows 1Run time:Time of run:0.00022196769714355

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=28315992592 # Num rows 1Run time:Time of run:0.00023102760314941

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=28316440142 # Num rows 1Run time:Time of run:0.00023198127746582

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=52433511332 # Num rows 1Run time:Time of run:0.00021505355834961

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=52851839972 # Num rows 1Run time:Time of run:0.00021195411682129

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=54449081502 # Num rows 1Run time:Time of run:0.00024890899658203

SELECT leo_shops.* ,leo_metro_lines.line_class as lineclass FROM leo_shops LEFT JOIN leo_metro_lines ON (leo_metro_lines.id = leo_shops.metro_line) WHERE leo_shops.id_city=46 AND dep_id>0 AND work=1 # Num rows 1Run time:Time of run:0.00022101402282715