SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001185s ]
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` = '2997' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000345s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 2997 [ RunTime:0.001762s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23447,31141,24039,3636,15971,9480,11518,17249,14940,4533,11998,23936,26649,16716,30433,14461,1056,11450,16499,2450,15122,6483,6131,16411) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000547s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 513 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012774s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 2997 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000508s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 2997 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000648s ]