SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001290s ]
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` = '31235' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000376s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31235 [ RunTime:0.002197s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (143,30515,102,29969,22993,30434,1952,13525,5185,11515,28593,15676,11996,494,13892,9004,18009,7861,32234,5831,27158,6205,19804,12346) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000636s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012601s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31235 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000505s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31235 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000538s ]