用标准C实现shell功能,这是我们上课的一个操作系统实验,不过我是用java实现的,这是我在网上找的,供大家参考-achieved using standard C shell function, which is a class of experimental operating system, but I use java to achieve, and this is my find of the Internet for reference
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001182s ]
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.085296s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001074s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001144s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000977s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003204s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000947s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003906s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015467s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001067s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 43329 [ RunTime:0.017188s ]