SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004010s ]
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` = '20811' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002700s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20811 [ RunTime:0.011141s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (10889,23878,13676,18424,18423,23982,21404,17601,20846,20338,5369,8398,1340,16803,28284,17236,2538,17753,22776,11311,15299,3873,4866,7487) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.003568s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 538 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.024025s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20811 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.006281s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20811 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000962s ]