SHOW FULL COLUMNS FROM `ay_daili` [ RunTime:0.001418s ]
SELECT * FROM `ay_daili` WHERE `tid` = 123 LIMIT 1 [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `ay_news` [ RunTime:0.001042s ]
SELECT * FROM `ay_news` WHERE `tid` = 123 AND `uid` = 596 ORDER BY `id` DESC LIMIT 12 [ RunTime:0.000353s ]
SELECT * FROM `ay_news` WHERE `tid` = 123 AND `uid` = 598 ORDER BY `id` DESC LIMIT 12 [ RunTime:0.000351s ]
SELECT * FROM `ay_news` WHERE `tid` = 123 AND `uid` = 597 ORDER BY `id` DESC LIMIT 12 [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `ay_shop` [ RunTime:0.001037s ]
SELECT * FROM `ay_shop` WHERE `tid` = 123 ORDER BY `id` DESC LIMIT 12 [ RunTime:0.000306s ]
SELECT COUNT(*) AS think_count FROM `ay_daili` `a` INNER JOIN `ay_shangstyletype` `i` ON `a`.`uid`=`i`.`id` WHERE `a`.`tid` > 1 AND `a`.`uid` = 1 [ RunTime:0.000375s ]
SELECT `a`.*,`i`.`typename` FROM `ay_daili` `a` INNER JOIN `ay_shangstyletype` `i` ON `a`.`uid`=`i`.`id` WHERE `a`.`tid` > 1 AND `a`.`uid` = 1 ORDER BY `a`.`id` DESC LIMIT 0,20 [ RunTime:0.000859s ]
SELECT COUNT(*) AS think_count FROM `ay_daili` `a` INNER JOIN `ay_shangstyletype` `i` ON `a`.`uid`=`i`.`id` WHERE `a`.`tid` > 1 AND `a`.`uid` > 1 [ RunTime:0.000340s ]
SELECT `a`.*,`i`.`typename` FROM `ay_daili` `a` INNER JOIN `ay_shangstyletype` `i` ON `a`.`uid`=`i`.`id` WHERE `a`.`tid` > 1 AND `a`.`uid` > 1 ORDER BY `a`.`id` DESC LIMIT 0,20 [ RunTime:0.000777s ]