SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004472s ]
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` = '8479' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000455s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 8479 [ RunTime:0.005854s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2262,21135,9796,24599,15373,29772,18997,7314,29574,12219,25043,24654,9669,14780,7713,5554,14268,16292,14406,1716,3859,30374,21030,13306) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000680s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.029228s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 8479 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000708s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 8479 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001481s ]