SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001143s ]
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` = '24777' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000317s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24777 [ RunTime:0.002395s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28703,28768,13481,26571,17101,15141,27975,21658,4479,28844,2342,3406,8787,16210,2380,29472,20069,30754,10966,16109,1856,21935,7773,20937) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000619s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 529 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012447s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24777 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000466s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24777 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000573s ]