[ DB ] CONNECT:[ UseTime:0.000790s ] mysql:host=122.114.224.210;port=3306;dbname=sql_xinyang_db;charset=utf8
[ SQL ] SHOW COLUMNS FROM `n_link` [ RunTime:0.001311s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000511s ]
[ SQL ] SHOW COLUMNS FROM `n_news_cate` [ RunTime:0.000807s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000333s ]
[ SQL ] SHOW COLUMNS FROM `n_news` [ RunTime:0.000764s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 2 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000964s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 3 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000729s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 4 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000732s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 5 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000741s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 12 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000718s ]
[ SQL ] SELECT * FROM `n_news` WHERE `id` = 40 LIMIT 1 [ RunTime:0.000398s ]
[ SQL ] SELECT `name` FROM `n_news_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000332s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` < 40 AND `status` = 1 AND `cate_id` = 8 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000420s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` > 40 AND `status` = 1 AND `cate_id` = 8 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000396s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE ( `cate_id` = 8 AND `cate_id` NOT IN (2,3,4,5,12) ) AND `id` <> 40 AND `status` = 1 LIMIT 4 [ RunTime:0.000829s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000392s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000294s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 2 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000751s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 3 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000727s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 4 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000730s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 5 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000750s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 12 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000742s ]