SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001127s ]
SELECT `a`.`hp`,`a`.`sl`,`a`.`xl`,`a`.`yy`,b.name as Cname,b.id as Cid FROM `tool_couplet` `a` INNER JOIN `tool_category` `b` ON `a`.`category_id`=`b`.`id` WHERE `a`.`id` = '30797' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000470s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30797 [ RunTime:0.002069s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (15804,10446,8026,7433,16518,20081,11707,18137,26866,7066,24745,6654,30228,16273,21414,12098,14769,13339,16678,13566,1658,19063,17590,17579) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000604s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013153s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30797 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000370s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30797 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000596s ]