SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003719s ]
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` = '20146' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000542s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20146 [ RunTime:0.003762s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14809,10175,30712,4211,18361,16191,13438,11675,11411,20999,7557,28934,14505,30581,31789,5620,25001,29880,18394,6354,21102,30708,24201,22067) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000622s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 536 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013480s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20146 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000384s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20146 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000486s ]