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

Бумага

DEBUG enable
Num SQL queries:61
Num fetched rows:246
including array rows:3
Time of script run:0.45440101623535
Time of SQL queries:0.066236257553101
Timers out:
Счетчик "Подгототовка страницы", время выполнения - 0.003с
Счетчик "ModIshopTree tree data", время выполнения - 0.0194с
Счетчик "ModIshopTree breads", время выполнения - 0.004с
Счетчик "ModIshopTree treecache", время выполнения - 0.0011с
Счетчик "ModIshopTree leftmenu", время выполнения - 0.0009с
Счетчик "ModIshopTree cardcollect", время выполнения - 0.0251с
Счетчик "ModIshopTree treesort", время выполнения - 0.0005с
Счетчик "ModIshopTree filters", время выполнения - 0.3558с
Счетчик "ModIshopTree design", время выполнения - 0.0002с
Счетчик "ModIshopTree cardsviews", время выполнения - 0.0001с
Счетчик "ModIshopTree paginator", время выполнения - 0с
Счетчик "ModIshopTree mclasses", время выполнения - 0с
Счетчик "Module=ishop", время выполнения - 0.4176с
Счетчик "Block=stat", время выполнения - 0.0001с
Счетчик "Block=mainjs", время выполнения - 0.0001с
Счетчик "Block=header", время выполнения - 0.0001с
Счетчик "Block=catalogtree", время выполнения - 0.0012с
Счетчик "Block=header", время выполнения - 0.0002с
Счетчик "Block=catalogtree", время выполнения - 0.0008с
Счетчик "Block=retailrocketblocks", время выполнения - 0.0001с
Счетчик "Block=advert", время выполнения - 0.0002с
Счетчик "Block=subscribe", время выполнения - 0.0002с
Счетчик "Block=footer", время выполнения - 0.0002с
Счетчик "Block=retailrocket", время выполнения - 0.0002с
Счетчик "Block=metrika", время выполнения - 0.0002с
Счетчик "Block=ganalitics", время выполнения - 0.0002с
Счетчик "Block=statmailru", время выполнения - 0.0003с
Счетчик "Block=jivosite", время выполнения - 0.0003с

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.00016498565673828

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.00015115737915039

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

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.00018405914306641

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



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=9538925066; # Num rows 1Run time:Time of run:0.01935601234436



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=9538925066 # Num rows 1Run time:Time of run:0.0038790702819824







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

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27703712402 LIMIT 1; # Num rows 1Run time:Time of run:0.0018949508666992

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27703712402 AND id_city=46 # Num rows 1Run time:Time of run:0.00046205520629883

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709655322 LIMIT 1; # Num rows 1Run time:Time of run:0.00059890747070312

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709655322 AND id_city=46 # Num rows 1Run time:Time of run:0.00034594535827637

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709683452 LIMIT 1; # Num rows 1Run time:Time of run:0.00048685073852539

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709683452 AND id_city=46 # Num rows 1Run time:Time of run:0.00026893615722656

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709687942 LIMIT 1; # Num rows 1Run time:Time of run:0.00051498413085938

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709687942 AND id_city=46 # Num rows 1Run time:Time of run:0.0002601146697998

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709688992 LIMIT 1; # Num rows 1Run time:Time of run:0.0004730224609375

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709688992 AND id_city=46 # Num rows 1Run time:Time of run:0.00027012825012207

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709701682 LIMIT 1; # Num rows 1Run time:Time of run:0.0014140605926514

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709701682 AND id_city=46 # Num rows 1Run time:Time of run:0.00028491020202637

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709711292 LIMIT 1; # Num rows 1Run time:Time of run:0.00049304962158203

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709711292 AND id_city=46 # Num rows 1Run time:Time of run:0.00032615661621094

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709713772 LIMIT 1; # Num rows 1Run time:Time of run:0.00051093101501465

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709713772 AND id_city=46 # Num rows 1Run time:Time of run:0.00030803680419922

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709715332 LIMIT 1; # Num rows 1Run time:Time of run:0.0011260509490967

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709715332 AND id_city=46 # Num rows 1Run time:Time of run:0.00024795532226562

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709717462 LIMIT 1; # Num rows 1Run time:Time of run:0.00048494338989258

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709717462 AND id_city=46 # Num rows 1Run time:Time of run:0.00025296211242676

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709870902 LIMIT 1; # Num rows 1Run time:Time of run:0.00049304962158203

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709870902 AND id_city=46 # Num rows 1Run time:Time of run:0.00026893615722656

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709875922 LIMIT 1; # Num rows 1Run time:Time of run:0.00045299530029297

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709875922 AND id_city=46 # Num rows 1Run time:Time of run:0.00026106834411621

SELECT SQL_NO_CACHE t4.id_tree,t1_ru.goodname,t1_ru.gooddescr,t1_ru.dimension,t1.f_tree_id,t1.cardtype,t1_ru.tis_fullname,t1.prepic,t1.detailcount,t1.goodrating,t1.oncedetail,t1.price,good_id,t1.id_good FROM leonardo_kz.leo_goods AS t1 LEFT JOIN leonardo.leo_goods AS t1_ru ON (t1.id_good=t1_ru.id_good) LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1_ru.goodname IS NOT NULL AND t1.id_good=27709946892 LIMIT 1; # Num rows 1Run time:Time of run:0.00047707557678223

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_good_price WHERE id_good=27709946892 AND id_city=46 # Num rows 1Run time:Time of run:0.00026202201843262





SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27703712402 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.00070595741271973

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709655322 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.00046396255493164

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709683452 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.00044012069702148

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709687942 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.00046205520629883

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709688992 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.0010669231414795

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709701682 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.00047612190246582

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709711292 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.00047206878662109

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709713772 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.00046300888061523

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709715332 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.0004727840423584

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709717462 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.00042200088500977

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709870902 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.0004570484161377

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709875922 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.00044107437133789

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep_goods AS t1,leo_shops AS t2 WHERE t1.code=27709946892 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.00042891502380371

SELECT id_detail FROM leo_details WHERE id_good=27703712402 # Num rows 37Run time:Time of run:0.0032458305358887

SELECT id_detail FROM leo_details WHERE id_good=27709655322 # Num rows 9Run time:Time of run:0.00040316581726074

SELECT id_detail FROM leo_details WHERE id_good=27709683452 # Num rows 5Run time:Time of run:0.00055408477783203

SELECT id_detail FROM leo_details WHERE id_good=27709687942 # Num rows 9Run time:Time of run:0.0018808841705322

SELECT id_detail FROM leo_details WHERE id_good=27709688992 # Num rows 3Run time:Time of run:0.0026800632476807

SELECT id_detail FROM leo_details WHERE id_good=27709701682 # Num rows 37Run time:Time of run:0.0011990070343018

SELECT id_detail FROM leo_details WHERE id_good=27709711292 # Num rows 9Run time:Time of run:0.00056099891662598

SELECT id_detail FROM leo_details WHERE id_good=27709713772 # Num rows 3Run time:Time of run:0.0009300708770752

SELECT id_detail FROM leo_details WHERE id_good=27709715332 # Num rows 3Run time:Time of run:0.00034999847412109

SELECT id_detail FROM leo_details WHERE id_good=27709717462 # Num rows 2Run time:Time of run:0.00035691261291504

SELECT id_detail FROM leo_details WHERE id_good=27709870902 # Num rows 37Run time:Time of run:0.00038814544677734

SELECT id_detail FROM leo_details WHERE id_good=27709875922 # Num rows 5Run time:Time of run:0.00038409233093262

SELECT id_detail FROM leo_details WHERE id_good=27709946892 # Num rows 5Run time:Time of run:0.00052690505981445

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.0044620037078857