[ DB ] CONNECT:[ UseTime:0.001733s ] mysql:host=122.114.224.210;port=3306;dbname=sql_xinyang_db;charset=utf8
[ SQL ] SHOW COLUMNS FROM `n_link` [ RunTime:0.002112s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000856s ]
[ SQL ] SHOW COLUMNS FROM `n_news_cate` [ RunTime:0.000851s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000487s ]
[ SQL ] SHOW COLUMNS FROM `n_news` [ RunTime:0.000857s ]
[ 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.002499s ]
[ 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.000886s ]
[ 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.000848s ]
[ 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.000894s ]
[ 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.000843s ]
[ SQL ] SELECT * FROM `n_news` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000556s ]
[ SQL ] SELECT `name` FROM `n_news_cate` WHERE `id` = 11 LIMIT 1 [ RunTime:0.000411s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` < 12 AND `status` = 1 AND `cate_id` = 11 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000579s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` > 12 AND `status` = 1 AND `cate_id` = 11 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000495s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE ( `cate_id` = 11 AND `cate_id` NOT IN (2,3,4,5,12) ) AND `id` <> 12 AND `status` = 1 LIMIT 4 [ RunTime:0.001454s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000506s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000369s ]
[ 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.001191s ]
[ 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.000844s ]
[ 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.000830s ]
[ 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.000853s ]
[ 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.000839s ]