SHOW FULL COLUMNS FROM `sa_navigation` [ RunTime:0.002654s ]
SELECT * FROM `sa_navigation` WHERE ( `is_show` = 1 AND `parent_id` = 0 ) AND ( 1=1 ) ORDER BY `sort` ASC LIMIT 100 [ RunTime:0.001789s ]
SELECT * FROM `sa_navigation` WHERE ( `show_buttom` = 1 AND `parent_id` = 0 ) AND ( 1=1 ) ORDER BY `sort` ASC LIMIT 100 [ RunTime:0.001505s ]
SELECT * FROM `sa_navigation` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000807s ]
SHOW FULL COLUMNS FROM `sa_channel` [ RunTime:0.003031s ]
SELECT * FROM `sa_channel` WHERE ( `id` = 9 ) AND `sa_channel`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.001352s ]
SELECT * FROM `sa_navigation` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000686s ]
SELECT * FROM `sa_navigation` WHERE `is_show` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.001861s ]
SHOW FULL COLUMNS FROM `sa_ad` [ RunTime:0.002936s ]
SELECT * FROM `sa_ad` WHERE ( pid = 5 and enabled =1 ) ORDER BY `orderby` ASC LIMIT 1 [ RunTime:0.002195s ]
SELECT * FROM `sa_ad` WHERE ( pid = 2 and enabled =1 ) ORDER BY `orderby` ASC LIMIT 1 [ RunTime:0.001593s ]
SELECT * FROM `sa_navigation` WHERE `parent_id` = 2 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.001472s ]
SHOW FULL COLUMNS FROM `sa_address` [ RunTime:0.003078s ]
SELECT * FROM `sa_address` ORDER BY `sort` ASC LIMIT 8 [ RunTime:0.001269s ]
SHOW FULL COLUMNS FROM `sa_product` [ RunTime:0.005105s ]
SELECT COUNT(*) AS think_count FROM `sa_product` `m` WHERE ( m.is_show = 1 and m.cat_id in (5) ) LIMIT 1 [ RunTime:0.000932s ]
SELECT `m`.*,a.title as ad_name FROM `sa_product` `m` LEFT JOIN `sa_navigation` `a` ON `a`.`id`=`m`.`cat_id` WHERE ( m.is_show = 1 and m.cat_id in (5) ) ORDER BY `m`.`add_time` DESC LIMIT 0,10 [ RunTime:0.002194s ]