[SQL语句]
SELECT * FROM `yzmcms` . `yzm_article` WHERE (id = '85') LIMIT 1;
UPDATE `yzmcms` . `yzm_article` SET `click` = `click`+1 WHERE (id = '85');
SELECT title,url FROM `yzmcms` . `yzm_article` WHERE (id< '85' AND status = '1' AND catid = '1') ORDER BY id DESC LIMIT 1;
SELECT title,url FROM `yzmcms` . `yzm_article` WHERE (id> '85' AND status = '1' AND catid = '1') ORDER BY id ASC LIMIT 1;
SELECT catid,catname,arrchildid,pclink,target FROM `yzmcms` . `yzm_category` WHERE parentid=0 AND `display`=1 ORDER BY listorder ASC LIMIT 20;
SELECT id,tag FROM `yzmcms` . `yzm_tag_content` INNER JOIN yzm_tag b ON yzm_tag_content.tagid=b.id WHERE yzm_tag_content.modelid=1 AND yzm_tag_content.aid=85 ORDER BY id ASC LIMIT 10;
SELECT tagid FROM `yzmcms` . `yzm_tag_content` WHERE (modelid = '1' AND aid = '85') LIMIT 10;
SELECT id,userid,username,userpic,inputtime,content FROM `yzmcms` . `yzm_comment` WHERE `commentid` = "1_1_85" AND `status` = 1 ORDER BY id DESC LIMIT 20;
SELECT total FROM `yzmcms` . `yzm_comment_data` WHERE (commentid = '1_1_85') LIMIT 1;
SELECT title,url,total,catid FROM `yzmcms` . `yzm_comment_data` WHERE modelid=1 ORDER BY `total` DESC LIMIT 10;
SELECT id,tag,total,remarks FROM `yzmcms` . `yzm_tag` ORDER BY id DESC LIMIT 30;
SELECT url,logo,name FROM `yzmcms` . `yzm_link` WHERE status = 1 ORDER BY listorder ASC, id DESC LIMIT 20;
SELECT url,logo,name FROM `yzmcms` . `yzm_link` WHERE status = 1 ORDER BY listorder ASC, id DESC LIMIT 20;
[其他信息]
服务器信息:Apache
路由信息:模块( index ),控制器( index ),方法( show ),参数( catid=1&id=85 )
会话ID: