SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001096s ]
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` = '22997' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000483s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 22997 [ RunTime:0.004489s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (17461,22312,22372,9751,23603,20309,19653,27111,15470,11318,10575,31689,12219,31575,6260,311,2344,30982,204,8077,29145,30591,7242,3670) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000572s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012335s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 22997 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000497s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 22997 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000488s ]