看见有些拿螺旋数字矩阵做考题的,虽然本来也不难,可是你要一着急也许就想不出来了呢:)-see some figures with spiral matrix so many questions, although otherwise it is not difficult, but you may be an anxious not want to come out? :)
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001067s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.115386s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.017058s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.011864s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.010884s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.024525s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.012970s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.019402s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.024363s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001145s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 295245 [ RunTime:0.142804s ]