SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001240s ]
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` = '20408' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001428s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20408 [ RunTime:0.003587s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20126,24596,28293,30284,4659,29548,28280,15555,24727,5944,22427,5465,23464,20628,11169,31249,30901,675,254,7806,6245,27720,18411,5092) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000596s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013260s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20408 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000440s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20408 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000527s ]