SHOW FULL COLUMNS FROM `sa_navigation` [ RunTime:0.000571s ]
SELECT * FROM `sa_navigation` WHERE ( `is_show` = 1 AND `parent_id` = 0 ) AND ( 1=1 ) ORDER BY `sort` ASC LIMIT 100 [ RunTime:0.000401s ]
SELECT * FROM `sa_navigation` WHERE ( `show_buttom` = 1 AND `parent_id` = 0 ) AND ( 1=1 ) ORDER BY `sort` ASC LIMIT 100 [ RunTime:0.000374s ]
SELECT * FROM `sa_navigation` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `sa_channel` [ RunTime:0.000536s ]
SELECT * FROM `sa_channel` WHERE ( `id` = 2 ) AND `sa_channel`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `sa_navigation` WHERE `is_show` = 1 AND `parent_id` = 21 ORDER BY `sort` ASC [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `sa_ad` [ RunTime:0.000518s ]
SELECT * FROM `sa_ad` WHERE ( pid = 21 and enabled =1 ) ORDER BY `orderby` ASC LIMIT 1 [ RunTime:0.000274s ]
SELECT * FROM `sa_navigation` WHERE `parent_id` = 2 AND `is_show` = 1 ORDER BY `sort` ASC [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `sa_address` [ RunTime:0.000475s ]
SELECT * FROM `sa_address` ORDER BY `sort` ASC LIMIT 8 [ RunTime:0.000200s ]
SELECT `id` FROM `sa_navigation` WHERE `parent_id` = 21 [ RunTime:0.000231s ]
SHOW FULL COLUMNS FROM `sa_product` [ RunTime:0.000589s ]
SELECT COUNT(*) AS think_count FROM `sa_product` `m` WHERE ( m.is_show = 1 and m.cat_id in (21) and m.pinyin like '%i%' ) LIMIT 1 [ RunTime:0.000238s ]
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 (21) and m.pinyin like '%i%' ) ORDER BY `m`.`add_time` DESC LIMIT 0,3 [ RunTime:0.000414s ]