SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001242s ]
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` = '12456' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000446s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12456 [ RunTime:0.002119s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (17984,24494,1054,2428,31722,28295,30380,4947,26736,10890,13053,14768,17314,11342,13729,21566,8263,29768,2603,16610,9382,5849,8705,11648) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000542s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012757s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12456 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000464s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12456 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000357s ]